Skip to contentSkip to conversation

ASoC: pxa: Remove redundant snd_soc_dapm_sync() calls from machine drivers

PATCH Applied Axel Lin 2 participants 2 messages Oct 12, 2011 – Oct 13, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/pxa/poodle.c |    1 -
 sound/soc/pxa/spitz.c  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/pxa/poodle.c +0 -1
index da3ae43..4c29bc1 100644
@@ -265,7 +265,6 @@ static int poodle_wm8731_init(struct snd_soc_pcm_runtime *rtd)
 	/* Set up poodle specific audio path audio_map */
 	snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
 
-	snd_soc_dapm_sync(dapm);
 	return 0;
 }
 
sound/soc/pxa/spitz.c +0 -1
index ce920e3..c2d6ff9 100644
@@ -301,7 +301,6 @@ static int spitz_wm8750_init(struct snd_soc_pcm_runtime *rtd)
 	/* Set up spitz specific audio paths */
 	snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
 
-	snd_soc_dapm_sync(dapm);
 	return 0;
 }
 
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

The core will sync DAPM as part of the card initialization, there is no need for machine drivers to do so during their setup.

Applied, thanks.