Skip to content

Commit

Permalink
ASoC: cs35l41: Fix max number of TX channels
Browse files Browse the repository at this point in the history
This device only has 4 TX channels.

Fixes: fe1024d ("ASoC: cs35l41: Combine adjacent register writes")
Signed-off-by: Lucas Tanure <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Lucas Tanure authored and broonie committed Mar 7, 2022
1 parent b41d619 commit dacf149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/cs35l41.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit dacf149

Please sign in to comment.