projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87bea31
)
ASoC: Ensure all DAPM widgets are instantiated with the card
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 8 Oct 2011 12:59:44 +0000
(13:59 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 8 Oct 2011 16:55:51 +0000
(17:55 +0100)
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
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index b65e3d40177c48904c7fbf2acf58ac3a95b3ece6..8dc9aba3526d62cadd1fbfbe6c6ca03e52d15289 100644
(file)
--- 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);