alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: core: Only add platform DAI widgets once.
@ 2013-09-13 17:09 Liam Girdwood
  2013-09-13 17:09 ` [PATCH] ASoC: trace: Make sure trace header doesnt depend on any headers Liam Girdwood
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Liam Girdwood @ 2013-09-13 17:09 UTC (permalink / raw)
  To: Mark Brown; +Cc: Liam Girdwood, alsa-devel

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>
---
 sound/soc/soc-core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 8e86aba..09e341d 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1365,7 +1365,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) {
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-09-16 11:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 17:09 [PATCH] ASoC: core: Only add platform DAI widgets once Liam Girdwood
2013-09-13 17:09 ` [PATCH] ASoC: trace: Make sure trace header doesnt depend on any headers Liam Girdwood
2013-09-13 17:27   ` Mark Brown
2013-09-13 17:09 ` [PATCH] ASoC: core utils: Dont set DMA params for BE substreams Liam Girdwood
2013-09-13 17:27   ` Mark Brown
2013-09-13 17:09 ` [PATCH] ASoC: core: Add API for configuration of DAI FS Liam Girdwood
2013-09-13 17:26   ` Mark Brown
2013-09-16 10:28     ` Liam Girdwood
2013-09-16 11:05       ` Mark Brown
2013-09-16 11:32         ` Liam Girdwood
2013-09-13 17:28 ` [PATCH] ASoC: core: Only add platform DAI widgets once Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).