]> git.baikalelectronics.ru Git - kernel.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>
Thu, 25 Aug 2022 09:18:01 +0000 (11:18 +0200)
commitc4e8d3d527397a4a208be829eb7c534d2e8725cf
treecb356a1dd45e69b91cd07b2bdcb1cec51ef52edc
parent261e2681553f679d20f7b17cbb0770e66cbda283
ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV

[ Upstream commit 5472f140ae833efe99a81ba29aa18c9169be7305 ]

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: 7589efb4dad2 ("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