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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:15:41 +0000 (15:15 -0400)
commit5540c02cd6c8be3f0960f743940aa9e762470a39
tree87729df02d1a9e923b357f264c6025f07b6c384e
parentfd81b2dc6f499f8a572363bedfac5ead050842e2
ASoC: dapm: Make sure to always update the DAPM graph in _put_volsw()

commit c9e065c27fe9b81e5d6e7681d77a24f7b9616675 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c