提交 b90d2f90 编写于 作者: M Mark Brown

ASoC: Instantiate card widgets immediately

This ensures they are available prior to the card late_probe().
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 ba896ede
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册