ASoC: Suppress early calls to snd_soc_dapm_sync()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Oct 2011 13:29:19 +0000 (14:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 8 Oct 2011 10:47:32 +0000 (11:47 +0100)
Ensure we only have one sync during the initial startup of the card by
making snd_soc_dapm_sync() a noop on non-instantiated cards. This avoids
any bounces due to things like jacks reporting their initial state on
partially initialised cards. The callers that don't also get called at
runtime should just be removed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found