]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs42l43: Fix maximum ADC Volume
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 6 Mar 2025 13:32:54 +0000 (13:32 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 6 Mar 2025 13:37:20 +0000 (13:37 +0000)
commite26f1cfeac6712516bfeed80890da664f4f2e88a
tree28d506fbab407b6e4e09ef0e8d1efcbbaf0f4dac
parent0eba2a7e858907a746ba69cd002eb9eb4dbd7bf3
ASoC: cs42l43: Fix maximum ADC Volume

The range of ADC volume is -1 -> 3 (-6 to 18dB) so the number of levels
should actually be 4.

Fixes: fc918cbe874e ("ASoC: cs42l43: Add support for the cs42l43")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250306133254.1861046-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l43.c