]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: cs35l41: Fix max number of TX channels
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 4 Mar 2022 15:07:03 +0000 (15:07 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:14:53 +0000 (13:14 +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/20220304150721.3802-3-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41.c

index 77a0176946459b9c4a915406a9816999f67c44e6..c90722b657c0051094298481f94d16ef8947a8da 100644 (file)
@@ -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,
                },