]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: wcd9335: drop unused gain hack remnant
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 19 Jan 2024 11:24:20 +0000 (12:24 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jan 2024 15:29:03 +0000 (15:29 +0000)
commitaafa3acf62f1f63e620753fb9fd75095325617b2
treed4d18542be50378ea9963d1d24ddf03edb304eaa
parent46188db080bd1df7d2d28031b89e56f2fdbabd67
ASoC: codecs: wcd9335: drop unused gain hack remnant

The vendor driver appears to be modifying the gain settings behind the
back of user space but these hacks never made it upstream except for
some essentially dead code that adds a constant zero to the current gain
setting on DAPM events.

Note that the volume registers still need to be written after enabling
clocks in order for any prior updates to take effect.

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://msgid.link/r/20240119112420.7446-5-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c