]> www.infradead.org Git - users/dwmw2/linux.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>
Sun, 21 Aug 2022 13:16:05 +0000 (15:16 +0200)
commit1d5fc40382c5b5590647807a30642dbe1ddb3d2c
tree02d8283f2fb83313d3ebf0c49966603c48896f0d
parent4181b214184b981e44b8df54a5d537117736e9e2
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