]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 9 Jun 2022 11:19:00 +0000 (12:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:03 +0000 (14:24 +0200)
commitddd240d42308f84d21efb39838958d53d4023565
tree819a7fbd7b1ddad6f9835b202c79ac4f28b4cacd
parent4237c073146408e92fbd019c621931b4016af078
ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV

[ Upstream commit 6f889356b1db118585ac5bed7575f8cad2fd6c2d ]

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: 0c5c7ddbb7ad ("ASoC: msm8916-wcd-digital: Add sidetone support")
Fixes: 005f8f6cf2d2 ("ASoC: codecs: Add msm8916-wcd digital codec")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220609111901.318047-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/msm8916-wcd-digital.c