diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2013-09-13 13:09:45 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-13 13:27:51 -0400 |
commit | ae10e7e8f1c9d021c8daca750d743cc3baa12e6d (patch) | |
tree | 89639da56735d35843efd1039a714b702d969bbe /sound | |
parent | 5df498a27ab385294fdb7cad19c623d4da94a780 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 4d0561312f3b..1a38be0d0ca8 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -1380,7 +1380,6 @@ static int soc_probe_link_dais(struct snd_soc_card *card, int num, int order) | |||
1380 | return -ENODEV; | 1380 | return -ENODEV; |
1381 | 1381 | ||
1382 | list_add(&cpu_dai->dapm.list, &card->dapm_list); | 1382 | list_add(&cpu_dai->dapm.list, &card->dapm_list); |
1383 | snd_soc_dapm_new_dai_widgets(&cpu_dai->dapm, cpu_dai); | ||
1384 | } | 1383 | } |
1385 | 1384 | ||
1386 | if (cpu_dai->driver->probe) { | 1385 | if (cpu_dai->driver->probe) { |