]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 9 Jun 2022 11:19:01 +0000 (12:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:42:00 +0000 (14:42 +0200)
commitba5080d93199a66901fc6793a8a1a139e8afaf08
tree37a6f878501d1fa51cdb2efadcc143bef6003238
parentcc4d15f6aaf6cbaf2d1b821e5f21eecd2cc12d88
ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV

[ Upstream commit 2fbe0953732e06b471cdedbf6f615b84235580d8 ]

move all the digital gains form using SX_TLV to S8_TLV, these gains are
actually 8 bit gains with 7th signed bit and ranges from -84dB to +40dB

rest of the Qualcomm wcd codecs uses these properly.

Fixes: 8c4f021d806a ("ASoC: wcd9335: add basic controls")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220609111901.318047-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/wcd9335.c