|
@@ -1230,9 +1230,6 @@ static int soc_post_component_init(struct snd_soc_card *card,
|
|
|
}
|
|
|
rtd->card = card;
|
|
|
|
|
|
- /* Make sure all DAPM widgets are instantiated */
|
|
|
- snd_soc_dapm_new_widgets(&codec->dapm);
|
|
|
-
|
|
|
/* machine controls, routes and widgets are not prefixed */
|
|
|
temp = codec->name_prefix;
|
|
|
codec->name_prefix = NULL;
|
|
@@ -1728,8 +1725,6 @@ static int 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];
|
|
|
dai_fmt = dai_link->dai_fmt;
|