From: Peter Ujfalusi Date: Tue, 18 Jan 2011 13:51:45 +0000 (+0200) Subject: ASoC: core: Remove dapm_sync call from soc_post_component_init X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d00a85752ab0fb4f0f7758e35d54b931a25d812;p=mv-sheeva.git 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. Signed-off-by: Peter Ujfalusi Reviewed-by: Jarkko Nikula Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 69117b686fd..9e68984423b 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1470,7 +1470,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;