From 0d00a85752ab0fb4f0f7758e35d54b931a25d812 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Tue, 18 Jan 2011 15:51:45 +0200 Subject: [PATCH] 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 --- sound/soc/soc-core.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5