ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 22 Feb 2022 18:32:12 +0000 (18:32 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Feb 2022 02:04:09 +0000 (02:04 +0000)
commit4b0bec6088588a120d33db85b1f0d9f096d1df71
treeeee9ac51c758385ec4b15ac4d040fe48492d0ada
parent61163c3e7480106804269182e24db05244866493
ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put

wcd934x_rx_hph_mode_put 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/20220222183212.11580-10-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd934x.c