]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs53l30: Correct number of volume levels on SX controls
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 2 Jun 2022 16:21:16 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jun 2022 12:11:19 +0000 (14:11 +0200)
commit2723c57f899c60a0d422470811ed35a44187148a
tree5ec94ec704c343b03bcd4d725d177bf62c8aa48e
parent1087c1cfa9cb52b0aba1126b6b3971d627e7b954
ASoC: cs53l30: Correct number of volume levels on SX controls

[ Upstream commit 50e58b344e74bc396c481cf4b2713040b1ddce53 ]

This driver specified the maximum value rather than the number of volume
levels on the SX controls, this is incorrect, so correct them.

Reported-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220602162119.3393857-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/cs53l30.c