]> git.baikalelectronics.ru Git - 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)
committerMark Brown <broonie@linaro.org>
Mon, 5 May 2014 19:31:14 +0000 (12:31 -0700)
commitcb6d311b691b36f47cde892f46f0935bd1162f44
treed2a53c4808664f3cb35bc6c5db5ed52b4a557176
parentffb9d2a358b83c7d4aa5659860ca512475e95534
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 e2f325b ("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