aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wcd934x.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2021-11-30 16:31:10 +0000
committerMark Brown <broonie@kernel.org>2021-12-01 14:13:48 +0000
commit4739d88ad8e1900f809f8a5c98f3c1b65bf76220 (patch)
tree8a2049151f230d36bdf53fa86757faba6136e27a /sound/soc/codecs/wcd934x.c
parentASoC: SOF: Intel: Retry codec probing if it fails (diff)
downloadlinux-dev-4739d88ad8e1900f809f8a5c98f3c1b65bf76220.tar.xz
linux-dev-4739d88ad8e1900f809f8a5c98f3c1b65bf76220.zip
ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
msm_routing_put_audio_mixer() can return incorrect value in various scenarios. scenario 1: amixer cset iface=MIXER,name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1 amixer cset iface=MIXER,name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0 return value is 0 instead of 1 eventhough value was changed scenario 2: amixer cset iface=MIXER,name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1 amixer cset iface=MIXER,name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1 return value is 1 instead of 0 eventhough the value was not changed scenario 3: amixer cset iface=MIXER,name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0 return value is 1 instead of 0 eventhough the value was not changed Fix this by adding checks, so that change notifications are sent correctly. Fixes: e3a33673e845 ("ASoC: qdsp6: q6routing: Add q6routing driver") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20211130163110.5628-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions