ASoC: Ensure DAPM widgets are set up before we sync jacks
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Oct 2011 12:30:55 +0000 (13:30 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Oct 2011 15:18:39 +0000 (16:18 +0100)
commit143d62a45b5f976067a8d705f7fae26a402651f9
tree4e82b4051aeca52dafca1d68477133f29d08354a
parentc4671a95857800941cb5aa6405170f3a91e448b4
ASoC: Ensure DAPM widgets are set up before we sync jacks

We synchronise jack state on startup - when we do that make sure that we
have set up all the DAPM widgets first in case we end up touching any of
the partially set up widgets when syncing the jack pins.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
sound/soc/soc-jack.c