ASoC: codecs: tx-macro: fix kcontrol put
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 6 Sep 2022 17:01:05 +0000 (18:01 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 13:25:02 +0000 (14:25 +0100)
commitc1057a08af438e0cf5450c1d977a3011198ed2f8
treeea719f78f6cef9d1934cf04b112bbc676c3a0458
parent1c6a7f5250ce81f11a248f9bf88fdbca8b6b0b5d
ASoC: codecs: tx-macro: fix kcontrol put

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

Fixes: d207bdea0ca9 ("ASoC: codecs: lpass-tx-macro: add dapm widgets and route")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220906170112.1984-6-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-tx-macro.c