Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Ensure all DAPM widgets are instantiated with the card
@ 2011-10-08 16:54 Mark Brown
  2011-10-08 16:54 ` [PATCH 2/2] ASoC: Assign power_check when we allocate DAPM widgets Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-10-08 16:54 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Specifically for the widgets added by machine driver late probe functions.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/soc-core.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index b65e3d4..8dc9aba 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1478,6 +1478,8 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
 		}
 	}
 
+	snd_soc_dapm_new_widgets(&card->dapm);
+
 	ret = snd_card_register(card->snd_card);
 	if (ret < 0) {
 		printk(KERN_ERR "asoc: failed to register soundcard for %s\n", card->name);
-- 
1.7.6.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-08 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-08 16:54 [PATCH 1/2] ASoC: Ensure all DAPM widgets are instantiated with the card Mark Brown
2011-10-08 16:54 ` [PATCH 2/2] ASoC: Assign power_check when we allocate DAPM widgets Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox