Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab4bc5ee authored by Mengdong Lin's avatar Mengdong Lin Committed by Mark Brown
Browse files

ASoC: topology: Rename the function to create a FE link



Just code refactoring. The function soc_tplg_link_create() will
create a front end link, not a physical link. So rename it to
soc_tplg_fe_link_create().

Signed-off-by: default avatarMengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 593d9e52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1704,7 +1704,7 @@ static void set_link_flags(struct snd_soc_dai_link *link,
}

/* create the FE DAI link */
static int soc_tplg_link_create(struct soc_tplg *tplg,
static int soc_tplg_fe_link_create(struct soc_tplg *tplg,
	struct snd_soc_tplg_pcm *pcm)
{
	struct snd_soc_dai_link *link;
@@ -1760,7 +1760,7 @@ static int soc_tplg_pcm_create(struct soc_tplg *tplg,
	if (ret < 0)
		return ret;

	return  soc_tplg_link_create(tplg, pcm);
	return  soc_tplg_fe_link_create(tplg, pcm);
}

/* copy stream caps from the old version 4 of source */