summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorLiam Girdwood2014-01-08 11:40:19 +0100
committerMark Brown2014-01-08 13:07:18 +0100
commitb893ea5f1cd1adbbd7e0794d16d47bbb46f80733 (patch)
tree73c522c3f59e68262ac4551001ca84f887a631a3 /sound/soc/soc-core.c
parentASoC: utils: Add internal call to determine if DAI is dummy. (diff)
downloadkernel-qcow2-linux-b893ea5f1cd1adbbd7e0794d16d47bbb46f80733.tar.gz
kernel-qcow2-linux-b893ea5f1cd1adbbd7e0794d16d47bbb46f80733.tar.xz
kernel-qcow2-linux-b893ea5f1cd1adbbd7e0794d16d47bbb46f80733.zip
ASoC: sapm: Automatically connect DAI link widgets in DAPM graph.
Connect the DAPM graph through each BE DAI link to the componnent(s) on the other side of the BE DAI link. This allows the graph to be walked on both sides of the link when graph changes are made. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 4e53d87e881d..7d9c0660ab24 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1728,6 +1728,7 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card)
}
snd_soc_dapm_link_dai_widgets(card);
+ snd_soc_dapm_connect_dai_link_widgets(card);
if (card->controls)
snd_soc_add_card_controls(card, card->controls, card->num_controls);