diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 14:29:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 15:10:54 +0200 |
commit | 87bea31c7b59a07fe5a1c827eb01db3b7c3ae672 (patch) | |
tree | 79ad5ea9603bef2db55d50610a2d9e2ba3076409 /sound/soc/samsung/h1940_uda1380.c | |
parent | ASoC: Suppress early calls to snd_soc_dapm_sync() (diff) | |
download | linux-87bea31c7b59a07fe5a1c827eb01db3b7c3ae672.tar.xz linux-87bea31c7b59a07fe5a1c827eb01db3b7c3ae672.zip |
ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.
OMAP drivers are omitted as I know Peter already has patches for them.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/h1940_uda1380.c')
-rw-r--r-- | sound/soc/samsung/h1940_uda1380.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c index c6c65892294e..52025c92f04c 100644 --- a/sound/soc/samsung/h1940_uda1380.c +++ b/sound/soc/samsung/h1940_uda1380.c @@ -198,8 +198,6 @@ static int h1940_uda1380_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_enable_pin(dapm, "Speaker"); snd_soc_dapm_enable_pin(dapm, "Mic Jack"); - snd_soc_dapm_sync(dapm); - snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE, &hp_jack); |