]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: dapm: Make sure to always update the DAPM graph in _put_volsw()
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 4 May 2014 17:17:05 +0000 (19:17 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 5 May 2014 19:31:14 +0000 (12:31 -0700)
commitc9e065c27fe9b81e5d6e7681d77a24f7b9616675
treed2a53c4808664f3cb35bc6c5db5ed52b4a557176
parent00a41d9fe276766c6b3109801cfcac93fa640a05
ASoC: dapm: Make sure to always update the DAPM graph in _put_volsw()

When using auto-muted controls it may happen that the register value will not
change when changing a control from enabled to disabled (since the control might
be physically disabled due to the auto-muting). We have to make sure to still
update the DAPM graph and disconnect the mixer input.

Fixes: commit 5729507 ("ASoC: dapm: Implement mixer input auto-disable")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c