ASoC: dapm: Run clock and regulator events separately to other supplies
authorMark Brown <broonie@linaro.org>
Wed, 9 Oct 2013 12:56:37 +0000 (13:56 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 10 Oct 2013 11:52:00 +0000 (12:52 +0100)
commit1dd275b60e5db4d0bb3763490b519176dcfc4308
treec087cc7fa0a7aad7c3da32912890a435c897bdbb
parenteb270e98e15b9f4303b074ba5d88ee98110bc451
ASoC: dapm: Run clock and regulator events separately to other supplies

In order to avoid trying to use an external clock or supply for an
on-chip supply prior to it being enabled move the clock and regulator
supply events to a separate step in DAPM sequencing from normal supply
events.

This should have minimal practical impact since these widgets are sorted
using SND_SOC_NOPM which is a negative value and hence sorted
separately to any real register writes, though it may be relevant if
supplies have event callbacks only.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c