projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba896ed
)
ASoC: Instantiate card widgets immediately
author
Mark Brown
<
[email protected]
>
Mon, 10 Oct 2011 12:38:06 +0000
(13:38 +0100)
committer
Mark Brown
<
[email protected]
>
Tue, 11 Oct 2011 17:59:17 +0000
(18:59 +0100)
This ensures they are available prior to the card late_probe().
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index 8dc9aba3526d62cadd1fbfbe6c6ca03e52d15289..d6af52bd97dffcac463f8eb7f7847a2d98284a22 100644
(file)
--- 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];