projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a7895
)
ASoC: cs35l41: Fix max number of TX channels
author
Lucas Tanure
<tanureal@opensource.cirrus.com>
Thu, 3 Mar 2022 17:30:41 +0000
(17:30 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 7 Mar 2022 13:12:37 +0000
(13:12 +0000)
This device only has 4 TX channels.
Fixes: fe1024d50477b ("ASoC: cs35l41: Combine adjacent register writes")
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20220303173059.269657-3-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs35l41.c
b/sound/soc/codecs/cs35l41.c
index 90c91b00288bbd7d53be0da75283b3bda8c7e2d8..f3787d77f892b1708838b06e61954ab7c442df1c 100644
(file)
--- a/
sound/soc/codecs/cs35l41.c
+++ b/
sound/soc/codecs/cs35l41.c
@@
-1091,7
+1091,7
@@
static struct snd_soc_dai_driver cs35l41_dai[] = {
.capture = {
.stream_name = "AMP Capture",
.channels_min = 1,
- .channels_max =
8
,
+ .channels_max =
4
,
.rates = SNDRV_PCM_RATE_KNOT,
.formats = CS35L41_TX_FORMATS,
},