summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l41.c
diff options
context:
space:
mode:
authorLucas Tanure <tanureal@opensource.cirrus.com>2022-03-04 18:07:03 +0300
committerMark Brown <broonie@kernel.org>2022-03-07 16:14:53 +0300
commitdacf1497a8ea388cca67081dc25780c50f77fa42 (patch)
treed5656f424ef53196d83d0cb933589ff2a2cb3a9e /sound/soc/codecs/cs35l41.c
parentb41d6195b2f0c5d5df009aa518958f3c46e66d9a (diff)
downloadlinux-dacf1497a8ea388cca67081dc25780c50f77fa42.tar.xz
ASoC: cs35l41: Fix max number of TX channels
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/20220304150721.3802-3-tanureal@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l41.c')
-rw-r--r--sound/soc/codecs/cs35l41.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c
index 77a017694645..c90722b657c0 100644
--- 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,
},