mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
4739d88ad8
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:
|
||
---|---|---|
.. | ||
audioreach.c | ||
audioreach.h | ||
Makefile | ||
q6adm.c | ||
q6adm.h | ||
q6afe-clocks.c | ||
q6afe-dai.c | ||
q6afe.c | ||
q6afe.h | ||
q6apm-dai.c | ||
q6apm-lpass-dais.c | ||
q6apm.c | ||
q6apm.h | ||
q6asm-dai.c | ||
q6asm.c | ||
q6asm.h | ||
q6core.c | ||
q6core.h | ||
q6dsp-common.c | ||
q6dsp-common.h | ||
q6dsp-errno.h | ||
q6dsp-lpass-clocks.c | ||
q6dsp-lpass-clocks.h | ||
q6dsp-lpass-ports.c | ||
q6dsp-lpass-ports.h | ||
q6prm-clocks.c | ||
q6prm.c | ||
q6prm.h | ||
q6routing.c | ||
q6routing.h | ||
topology.c |