[alsa-devel] [PATCH] ASoC: Instantiate card widgets immediately
10 Oct
2011
10 Oct
'11
2:38 p.m.
This ensures they are available prior to the card late_probe().
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 8dc9aba..d6af52b 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1430,6 +1430,8 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card) snd_soc_dapm_add_routes(&card->dapm, card->dapm_routes, card->num_dapm_routes);
+ snd_soc_dapm_new_widgets(&card->dapm); + for (i = 0; i < card->num_links; i++) { dai_link = &card->dai_link[i];
--
1.7.6.3
4822
Age (days ago)
4822
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown