Commit 0d00a857 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

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: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Reviewed-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 219d8df8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;