]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Fix auto-disable for inverted controls
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 30 Aug 2013 15:39:33 +0000 (17:39 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 30 Aug 2013 15:41:06 +0000 (16:41 +0100)
commit08ebbf915d0383210340af075d47c9fa6fcfc6df
tree18ccfe6e4d4d944740df0b0c69eba0aba9761852
parent6cdb756339f78f2fff9db0d6865150bec7357820
ASoC: dapm: Fix auto-disable for inverted controls

We need to make sure that the control's cached value is initialized to the same
value as the control's widget->on_val. Otherwise updates might be lost.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c