summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-04-19 01:12:43 -0400
committerMark Brown <broonie@kernel.org>2016-04-20 12:16:49 -0400
commitb84fff5afb16627a8973256992f3951ac3e90d84 (patch)
tree0bcc963228bc151bc3ae78fdb49635be56ff4f98 /sound
parente42839b012eb8179ed2e3571bfcd133fba5df154 (diff)
ASoC: topology: Set the link ID when creating a FE DAI link
Topology will set the link's generic id when creating a FE link. Device drivers can check the id for link specific initialization. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 1cf94d7fb9f4..bdbfcef4c319 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -1598,6 +1598,7 @@ static int soc_tplg_link_create(struct soc_tplg *tplg,
1598 1598
1599 link->name = pcm->pcm_name; 1599 link->name = pcm->pcm_name;
1600 link->stream_name = pcm->pcm_name; 1600 link->stream_name = pcm->pcm_name;
1601 link->id = pcm->pcm_id;
1601 1602
1602 /* pass control to component driver for optional further init */ 1603 /* pass control to component driver for optional further init */
1603 ret = soc_tplg_dai_link_load(tplg, link); 1604 ret = soc_tplg_dai_link_load(tplg, link);