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:21:55 +0000 (14:21 +0200)
commitd5e7be00d1285977e4d37eee12e039ddf04439d0
treed3eb9f00ce70ef8ac22145f234d72d7b0f89f252
parent2bdfe9a32e0fc88bd56edefc5dcaca10fada2f11
ASoC: cs53l30: Correct number of volume levels on SX controls

[ Upstream commit 7fbd6dd68127927e844912a16741016d432a0737 ]

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