ASoC: atmel: fix spelling mistakes
[ Upstream commit 55233b22502151e0b2d9cc599e1ddf1f5584c87a ] Fix some spelling mistakes as follows: regaedles ==> regardless prezent ==> present underrrun ==> underrun controlls ==> controls Signed-off-by: Gu Shengxian <gushengxian@yulong.com> Link: https://lore.kernel.org/r/20210706100230.32633-1-gushengxian507419@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: a4c4161d6eae ("ASoC: mchp-spdifrx: fix return value in case completion times out") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
1983a70778
commit
426423ed55
@@ -56,7 +56,7 @@
|
|||||||
/* Validity Bit Mode */
|
/* Validity Bit Mode */
|
||||||
#define SPDIFRX_MR_VBMODE_MASK GENAMSK(1, 1)
|
#define SPDIFRX_MR_VBMODE_MASK GENAMSK(1, 1)
|
||||||
#define SPDIFRX_MR_VBMODE_ALWAYS_LOAD \
|
#define SPDIFRX_MR_VBMODE_ALWAYS_LOAD \
|
||||||
(0 << 1) /* Load sample regardles of validity bit value */
|
(0 << 1) /* Load sample regardless of validity bit value */
|
||||||
#define SPDIFRX_MR_VBMODE_DISCARD_IF_VB1 \
|
#define SPDIFRX_MR_VBMODE_DISCARD_IF_VB1 \
|
||||||
(1 << 1) /* Load sample only if validity bit is 0 */
|
(1 << 1) /* Load sample only if validity bit is 0 */
|
||||||
|
|
||||||
@@ -523,7 +523,7 @@ static int mchp_spdifrx_cs_get(struct mchp_spdifrx_dev *dev,
|
|||||||
/* check for new data available */
|
/* check for new data available */
|
||||||
ret = wait_for_completion_interruptible_timeout(&ch_stat->done,
|
ret = wait_for_completion_interruptible_timeout(&ch_stat->done,
|
||||||
msecs_to_jiffies(100));
|
msecs_to_jiffies(100));
|
||||||
/* IP might not be started or valid stream might not be prezent */
|
/* IP might not be started or valid stream might not be present */
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_dbg(dev->dev, "channel status for channel %d timeout\n",
|
dev_dbg(dev->dev, "channel status for channel %d timeout\n",
|
||||||
channel);
|
channel);
|
||||||
@@ -575,7 +575,7 @@ static int mchp_spdifrx_subcode_ch_get(struct mchp_spdifrx_dev *dev,
|
|||||||
mchp_spdifrx_isr_blockend_en(dev);
|
mchp_spdifrx_isr_blockend_en(dev);
|
||||||
ret = wait_for_completion_interruptible_timeout(&user_data->done,
|
ret = wait_for_completion_interruptible_timeout(&user_data->done,
|
||||||
msecs_to_jiffies(100));
|
msecs_to_jiffies(100));
|
||||||
/* IP might not be started or valid stream might not be prezent */
|
/* IP might not be started or valid stream might not be present */
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
dev_dbg(dev->dev, "user data for channel %d timeout\n",
|
dev_dbg(dev->dev, "user data for channel %d timeout\n",
|
||||||
channel);
|
channel);
|
||||||
|
@@ -80,7 +80,7 @@
|
|||||||
#define SPDIFTX_MR_VALID1 BIT(24)
|
#define SPDIFTX_MR_VALID1 BIT(24)
|
||||||
#define SPDIFTX_MR_VALID2 BIT(25)
|
#define SPDIFTX_MR_VALID2 BIT(25)
|
||||||
|
|
||||||
/* Disable Null Frame on underrrun */
|
/* Disable Null Frame on underrun */
|
||||||
#define SPDIFTX_MR_DNFR_MASK GENMASK(27, 27)
|
#define SPDIFTX_MR_DNFR_MASK GENMASK(27, 27)
|
||||||
#define SPDIFTX_MR_DNFR_INVALID (0 << 27)
|
#define SPDIFTX_MR_DNFR_INVALID (0 << 27)
|
||||||
#define SPDIFTX_MR_DNFR_VALID (1 << 27)
|
#define SPDIFTX_MR_DNFR_VALID (1 << 27)
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
// IN2 +---o--+------------+--o---+ OUT2
|
// IN2 +---o--+------------+--o---+ OUT2
|
||||||
// loop2 relays
|
// loop2 relays
|
||||||
//
|
//
|
||||||
// The 'loop1' gpio pin controlls two relays, which are either in loop
|
// The 'loop1' gpio pin controls two relays, which are either in loop
|
||||||
// position, meaning that input and output are directly connected, or
|
// position, meaning that input and output are directly connected, or
|
||||||
// they are in mixer position, meaning that the signal is passed through
|
// they are in mixer position, meaning that the signal is passed through
|
||||||
// the 'Sum' mixer. Similarly for 'loop2'.
|
// the 'Sum' mixer. Similarly for 'loop2'.
|
||||||
|
Reference in New Issue
Block a user