aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f46472d50c9b..85e2a8b8f288 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1230,9 +1230,6 @@ static int soc_post_component_init(struct snd_soc_card *card,
1230 } 1230 }
1231 rtd->card = card; 1231 rtd->card = card;
1232 1232
1233 /* Make sure all DAPM widgets are instantiated */
1234 snd_soc_dapm_new_widgets(&codec->dapm);
1235
1236 /* machine controls, routes and widgets are not prefixed */ 1233 /* machine controls, routes and widgets are not prefixed */
1237 temp = codec->name_prefix; 1234 temp = codec->name_prefix;
1238 codec->name_prefix = NULL; 1235 codec->name_prefix = NULL;
@@ -1728,8 +1725,6 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card)
1728 snd_soc_dapm_add_routes(&card->dapm, card->dapm_routes, 1725 snd_soc_dapm_add_routes(&card->dapm, card->dapm_routes,
1729 card->num_dapm_routes); 1726 card->num_dapm_routes);
1730 1727
1731 snd_soc_dapm_new_widgets(&card->dapm);
1732
1733 for (i = 0; i < card->num_links; i++) { 1728 for (i = 0; i < card->num_links; i++) {
1734 dai_link = &card->dai_link[i]; 1729 dai_link = &card->dai_link[i];
1735 dai_fmt = dai_link->dai_fmt; 1730 dai_fmt = dai_link->dai_fmt;