aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 85e2a8b8f288..9375012ccb21 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1803,12 +1803,12 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card)
1803 } 1803 }
1804 } 1804 }
1805 1805
1806 snd_soc_dapm_new_widgets(&card->dapm);
1807
1808 if (card->fully_routed) 1806 if (card->fully_routed)
1809 list_for_each_entry(codec, &card->codec_dev_list, card_list) 1807 list_for_each_entry(codec, &card->codec_dev_list, card_list)
1810 snd_soc_dapm_auto_nc_codec_pins(codec); 1808 snd_soc_dapm_auto_nc_codec_pins(codec);
1811 1809
1810 snd_soc_dapm_new_widgets(&card->dapm);
1811
1812 ret = snd_card_register(card->snd_card); 1812 ret = snd_card_register(card->snd_card);
1813 if (ret < 0) { 1813 if (ret < 0) {
1814 dev_err(card->dev, "ASoC: failed to register soundcard %d\n", 1814 dev_err(card->dev, "ASoC: failed to register soundcard %d\n",