diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 08:29:18 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-08 09:10:54 -0400 |
commit | 87bea31c7b59a07fe5a1c827eb01db3b7c3ae672 (patch) | |
tree | 79ad5ea9603bef2db55d50610a2d9e2ba3076409 /sound/soc/samsung/smdk_wm8580.c | |
parent | 4f4c0072228785179d35b2bd9e48081ce9fa51f6 (diff) |
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/smdk_wm8580.c')
-rw-r--r-- | sound/soc/samsung/smdk_wm8580.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/samsung/smdk_wm8580.c b/sound/soc/samsung/smdk_wm8580.c index 20deecf3b243..54c4cce899d7 100644 --- a/sound/soc/samsung/smdk_wm8580.c +++ b/sound/soc/samsung/smdk_wm8580.c | |||
@@ -173,9 +173,6 @@ static int smdk_wm8580_init_paiftx(struct snd_soc_pcm_runtime *rtd) | |||
173 | */ | 173 | */ |
174 | snd_soc_dapm_disable_pin(dapm, "MicIn"); | 174 | snd_soc_dapm_disable_pin(dapm, "MicIn"); |
175 | 175 | ||
176 | /* signal a DAPM event */ | ||
177 | snd_soc_dapm_sync(dapm); | ||
178 | |||
179 | return 0; | 176 | return 0; |
180 | } | 177 | } |
181 | 178 | ||
@@ -191,9 +188,6 @@ static int smdk_wm8580_init_paifrx(struct snd_soc_pcm_runtime *rtd) | |||
191 | /* Set up PAIFRX audio path */ | 188 | /* Set up PAIFRX audio path */ |
192 | snd_soc_dapm_add_routes(dapm, audio_map_rx, ARRAY_SIZE(audio_map_rx)); | 189 | snd_soc_dapm_add_routes(dapm, audio_map_rx, ARRAY_SIZE(audio_map_rx)); |
193 | 190 | ||
194 | /* signal a DAPM event */ | ||
195 | snd_soc_dapm_sync(dapm); | ||
196 | |||
197 | return 0; | 191 | return 0; |
198 | } | 192 | } |
199 | 193 | ||