]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9997dceab25b27bcd3bce99d07d6780d5ca357e
treec087cc7fa0a7aad7c3da32912890a435c897bdbb
parent2e54fe02e60ed8a0fc41116aa7fc894e45bc5a5c
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