]> 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:46:42 +0000 (11:46 +0200)
commitc44eafbd13c982c8dd9fed196b9eedeb9685db9a
treeca405cf0536bc56a645bf934067a1e9c19463742
parentd4bfd4858d28f0a6f7f1279b17560d30faaac5f5
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