diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-12 19:38:56 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-13 06:50:04 -0400 |
commit | dbe37dbc1bf1629e517b7ef57429fb6af1f186af (patch) | |
tree | 94dcaad2a61745bbb0915df3da0566bf22f42d36 /sound/soc/pxa | |
parent | b29a33a211a855e8e52c095af13e1d99ed60d07c (diff) |
ASoC: pxa: 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.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r-- | sound/soc/pxa/poodle.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/spitz.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index da3ae4316cf2..4c29bc1f9cfe 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c | |||
@@ -265,7 +265,6 @@ static int poodle_wm8731_init(struct snd_soc_pcm_runtime *rtd) | |||
265 | /* Set up poodle specific audio path audio_map */ | 265 | /* Set up poodle specific audio path audio_map */ |
266 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); | 266 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); |
267 | 267 | ||
268 | snd_soc_dapm_sync(dapm); | ||
269 | return 0; | 268 | return 0; |
270 | } | 269 | } |
271 | 270 | ||
diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c index ce920e3cfea1..c2d6ff9b1588 100644 --- a/sound/soc/pxa/spitz.c +++ b/sound/soc/pxa/spitz.c | |||
@@ -301,7 +301,6 @@ static int spitz_wm8750_init(struct snd_soc_pcm_runtime *rtd) | |||
301 | /* Set up spitz specific audio paths */ | 301 | /* Set up spitz specific audio paths */ |
302 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); | 302 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); |
303 | 303 | ||
304 | snd_soc_dapm_sync(dapm); | ||
305 | return 0; | 304 | return 0; |
306 | } | 305 | } |
307 | 306 | ||