mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-09 11:55:31 +00:00
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:
|
||
|---|---|---|
| .. | ||
| qdsp6 | ||
| apq8016_sbc.c | ||
| apq8096.c | ||
| common.c | ||
| common.h | ||
| Kconfig | ||
| lpass-apq8016.c | ||
| lpass-cpu.c | ||
| lpass-hdmi.c | ||
| lpass-hdmi.h | ||
| lpass-ipq806x.c | ||
| lpass-lpaif-reg.h | ||
| lpass-platform.c | ||
| lpass-sc7180.c | ||
| lpass.h | ||
| Makefile | ||
| sc7180.c | ||
| sdm845.c | ||
| sm8250.c | ||
| storm.c | ||