]> 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)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 12:32:15 +0000 (13:32 +0100)
commit33d0ba367509b5be57f5c4422627177119397773
tree6bceb962efd68269f003ba6bbbc1e1aa88578a1d
parent84a55947e76224b5254b8bdc6b6f84f5bcb79491
ASoC: codecs: wcd9335: 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: 9e6bd053660c ("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>
sound/soc/codecs/wcd9335.c