mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
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 <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>
This commit is contained in:
parent
219d8df868
commit
0d00a85752
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user