mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 16:30:53 +00:00
ASoC: core: Only add platform DAI widgets once.
Currently platform CPU DAI widgets are created in soc_probe_platform and soc_probe_link_dais. Remove the extra call in soc_probe_link_dais(). Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
5df498a27a
commit
ae10e7e8f1
@ -1380,7 +1380,6 @@ static int soc_probe_link_dais(struct snd_soc_card *card, int num, int order)
|
||||
return -ENODEV;
|
||||
|
||||
list_add(&cpu_dai->dapm.list, &card->dapm_list);
|
||||
snd_soc_dapm_new_dai_widgets(&cpu_dai->dapm, cpu_dai);
|
||||
}
|
||||
|
||||
if (cpu_dai->driver->probe) {
|
||||
|
Loading…
Reference in New Issue
Block a user