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)
commit2daabd7848b89afddd93be616f1be5639ea78822
tree18ccfe6e4d4d944740df0b0c69eba0aba9761852
parent34742cb02bd368c1af3349c041d3e4446f7ac6ef
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