]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Sat, 25 Jun 2022 09:45:16 +0000 (11:45 +0200)
commit01bc8d947fb1a107d1f33dce33bcc3d5bd173a9e
tree7924a864a14aefe3a436bc4e7ab82ca63cca1c68
parenta4cb3d1d2b8fdba52b168cbbccd6a1949bfbcec9
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