ASoC: core: Remove dapm_sync call from soc_post_component_init
PATCH 1/1 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 <[email protected]>
--- sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/soc-core.c +0 -1
@@ -1467,7 +1467,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;
Signature · 1 line
1.7.4.rc2
Quoted 9 lines · On Tue, 18 Jan 2011 15:51:45 +0200 Peter Ujfalusi <[email protected]>…
snd_soc_dapm_new_widgetswill calldapm_power_widgetsat the end, so there is no need to callsnd_soc_dapm_syncaftersnd_soc_dapm_new_widgets.Signed-off-by Peter Ujfalusi <[email protected]>--- sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fwiw,
Reviewed-by Jarkko Nikula <[email protected]
Liam Girdwood
Acked-byQuoted 7 lines · Jarkko Nikula
Quoted 4 lines · On Tue, 18 Jan 2011 15:51:45 +0200 Peter Ujfalusi <[email protected]>…
snd_soc_dapm_new_widgetswill calldapm_power_widgetsat the end, so there is no need to callsnd_soc_dapm_syncaftersnd_soc_dapm_new_widgets.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Peter Ujfalusi <[email protected]>--- sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)fwiw,
Reviewed-by Jarkko Nikula <[email protected]
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 5 lines · Peter Ujfalusi
snd_soc_dapm_new_widgetswill calldapm_power_widgetsat the end, so there is no need to callsnd_soc_dapm_syncaftersnd_soc_dapm_new_widgets.Signed-off-by Peter Ujfalusi <[email protected]>
Applied, thanks.