ASoC: codecs: wcd934x: return correct value from mixer put
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 30 Nov 2021 16:05:06 +0000 (16:05 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 1 Dec 2021 14:13:50 +0000 (14:13 +0000)
commitd9be0ff4796d1b6f5ee391c1b7e3653a43cedfab
treed9b0bdce8906d13d35264989128495f4408b8d30
parent23ba28616d3063bd4c4953598ed5e439ca891101
ASoC: codecs: wcd934x: return correct value from mixer put

wcd934x_compander_set() currently returns zero eventhough it changes the value.
Fix this, so that change notifications are sent correctly.

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