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>
This commit is contained in:
@@ -1598,6 +1598,7 @@ static int soc_tplg_link_create(struct soc_tplg *tplg,
|
||||
|
||||
link->name = pcm->pcm_name;
|
||||
link->stream_name = pcm->pcm_name;
|
||||
link->id = pcm->pcm_id;
|
||||
|
||||
/* pass control to component driver for optional further init */
|
||||
ret = soc_tplg_dai_link_load(tplg, link);
|
||||
|
Reference in New Issue
Block a user