]> 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)
commit493a9ae532a06d1e08cce453c32f38c803e8a296
treee54a5b71fa886f1f4bf5bd768a50e951f481e753
parent9ebf9e13e6d5364be7af03fd1d56a3528117e5bd
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