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)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 12:08:57 +0000 (13:08 +0100)
commit5a7f6cdd402e3da891d2768f1da1f3ea1664a2a2
tree05790d935cec17ccfaa8c066dd8919dc7513e431
parente9dad4de223ee5a4bd5e8b11931a2af8558da0bc
ASoC: cs53l30: Correct number of volume levels on SX controls

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>
sound/soc/codecs/cs53l30.c