]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: cs42l52: Fix TLV scales for mixer controls
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 2 Jun 2022 16:21:14 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:45:16 +0000 (11:45 +0200)
commita4cb3d1d2b8fdba52b168cbbccd6a1949bfbcec9
tree39e8d809e3b331d9da1786c06bf49d855b726aec
parent0b8e19b40c27ea40c5628c46c87eba4a61a3c68f
ASoC: cs42l52: Fix TLV scales for mixer controls

[ Upstream commit 8bf5aabf524eec61013e506f764a0b2652dc5665 ]

The datasheet specifies the range of the mixer volumes as between
-51.5dB and 12dB with a 0.5dB step. Update the TLVs for this.

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