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-Tag: MMI-PSA29.97-13-9~16612^2~1226^2~63 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d00a85752ab0fb4f0f7758e35d54b931a25d812;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 69117b686fdc..9e68984423b2 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;