Skip to contentSkip to conversation

ASoC: core: Remove dapm_sync call from soc_post_component_init

PATCH Applied Peter Ujfalusi 4 participants 4 messages Jan 18, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: core: Remove dapm_sync call from soc_post_component_init

snd_soc_dapm_new_widgets will call dapm_power_widgets at the end, so there is no need to call snd_soc_dapm_sync after snd_soc_dapm_new_widgets.

---
 sound/soc/soc-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/soc-core.c +0 -1
index bac7291..952f104 100644
@@ -1467,7 +1467,6 @@ static int soc_post_component_init(struct snd_soc_card *card,
 
 	/* Make sure all DAPM widgets are instantiated */
 	snd_soc_dapm_new_widgets(&codec->dapm);
-	snd_soc_dapm_sync(&codec->dapm);
 
 	/* register the rtd device */
 	rtd->codec = codec;
Signature · 1 line
1.7.4.rc2
Acked-by
#2 lore raw
Quoted 7 lines · Jarkko Nikula
Quoted 4 lines · On Tue, 18 Jan 2011 15:51:45 +0200 Peter Ujfalusi <[email protected]>…

snd_soc_dapm_new_widgets will call dapm_power_widgets at the end, so there is no need to call snd_soc_dapm_sync after snd_soc_dapm_new_widgets.

Quoted 8 lines
Quoted 5 lines
---
 sound/soc/soc-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

fwiw,

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk