]> git.ipfire.org Git - people/arne_f/kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:17:35 +0000 (15:17 -0400)
commit02897cf1bdd022f2b6825db770cdfd2396cde796
treefde056bcd4679126fc294c08a44843001c692772
parent91ae1220790f101d55b4318fdb6c80cb3840745f
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