提交 2dc00213 编写于 作者: M Mark Brown

ASoC: Ensure all DAPM widgets are instantiated with the card

Specifically for the widgets added by machine driver late probe functions.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 87bea31c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册