diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2013-09-13 19:09:45 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-13 19:27:51 +0200 |
commit | ae10e7e8f1c9d021c8daca750d743cc3baa12e6d (patch) | |
tree | 89639da56735d35843efd1039a714b702d969bbe /sound/soc | |
parent | Merge remote-tracking branch 'asoc/topic/ssm2602' into tmp (diff) | |
download | linux-ae10e7e8f1c9d021c8daca750d743cc3baa12e6d.tar.xz linux-ae10e7e8f1c9d021c8daca750d743cc3baa12e6d.zip |
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/soc')
-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) 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) { |