Skip to content

Commit

Permalink
ASoC: core: Remove dapm_sync call from soc_post_component_init
Browse files Browse the repository at this point in the history
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 <peter.ujfalusi@nokia.com>
Reviewed-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Jan 18, 2011
1 parent 219d8df commit 0d00a85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d00a85

Please sign in to comment.