ASoC: cs42l51: Correct PGA Volume minimum value
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 25 Nov 2022 16:23:48 +0000 (16:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Dec 2022 11:36:43 +0000 (12:36 +0100)
commit825bd2af4227b35017a0e0be19dcc308b32f126c
tree76fd7dc1bf98dce79a8971c05166092fed5287d4
parent91582b3a1ab222c459da7600290f5b8f1b9f570f
ASoC: cs42l51: Correct PGA Volume minimum value

[ Upstream commit 3d1bb6cc1a654c8693a85b1d262e610196edec8b ]

The table in the datasheet actually shows the volume values in the wrong
order, with the two -3dB values being reversed. This appears to have
caused the lower of the two values to be used in the driver when the
higher should have been, correct this mixup.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221125162348.1288005-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/cs42l51.c