OSDN Git Service

ASoC: dapm: Delay w->power update until the changes are written
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 29 Jul 2013 15:14:03 +0000 (17:14 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 17:41:00 +0000 (18:41 +0100)
commit39eb5fd13dff8d3d04489fe3f59e0d22bf89041e
treeef11f2aaf8b84fcea1a8564912a71b768f3a1e23
parent2553628e1973709bf378320ecffd3e4fb34458db
ASoC: dapm: Delay w->power update until the changes are written

Wait with updating the widgets power field until the changes are actually
written to the hardware in dapm_seq_run_coalesced(). This will allow us to query
the current hardware state between calling dapm_power_one_widget() and actually
writing the new power state to hardware.

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