]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1888464f93e66ba082d72a5be571e0d65ff46c9
treee54a5b71fa886f1f4bf5bd768a50e951f481e753
parentfb84831a1dd0607cdc93a952760ea94c74afcb09
ASoC: Suppress early calls to snd_soc_dapm_sync()

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>
sound/soc/soc-core.c
sound/soc/soc-dapm.c