]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: wcd938x: fix return value of mixer put function
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 26 Jan 2022 11:35:48 +0000 (11:35 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jan 2022 13:31:39 +0000 (13:31 +0000)
commit29f188614ab34d3fce3daeb0103caca9ec18eb5b
tree320cfdbe817e92c87646dfc2195e316ade89c0d9
parent66346291bd923602ba29a800ee3fe4c9cd071867
ASoC: codecs: wcd938x: fix return value of mixer put function

wcd938x_ear_pa_put_gain, wcd938x_set_swr_port and  wcd938x_set_compander
currently returns zero eventhough it changes the value.
Fix this, so that change notifications are sent correctly.

Fixes: 251e100d9cdea ("ASoC: codecs: wcd938x: add basic controls")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220126113549.8853-4-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd938x.c