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)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 12:32:14 +0000 (13:32 +0100)
commit5babb012c847beb6c8c7108fd78f650b7a2c6054
treeff92ed61f2ffd8d96a0becb010f182bd63640470
parent142d456204cf4dabe18be59e043d806440f609d4
ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV

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: ef8a4757a6db ("ASoC: msm8916-wcd-digital: Add sidetone support")
Fixes: 150db8c5afa1 ("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>
sound/soc/codecs/msm8916-wcd-digital.c