[alsa-devel] [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 peter.ujfalusi@nokia.com --- sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index bac7291..952f104 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -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;
On Tue, 18 Jan 2011 15:51:45 +0200 Peter Ujfalusi peter.ujfalusi@nokia.com wrote:
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
sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fwiw,
Reviewed-by: Jarkko Nikula <jhnikula@gmail.com
On Tue, 2011-01-18 at 16:22 +0200, Jarkko Nikula wrote:
On Tue, 18 Jan 2011 15:51:45 +0200 Peter Ujfalusi peter.ujfalusi@nokia.com wrote:
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
sound/soc/soc-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fwiw,
Reviewed-by: Jarkko Nikula <jhnikula@gmail.com
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Tue, Jan 18, 2011 at 03:51:45PM +0200, Peter Ujfalusi wrote:
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
Applied, thanks.
participants (4)
-
Jarkko Nikula
-
Liam Girdwood
-
Mark Brown
-
Peter Ujfalusi