summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-11-02 18:04:42 +0100
committerMark Brown <broonie@kernel.org>2016-11-04 18:25:31 +0100
commitab4bc5eed8e9c9fa36d80d58c55300dd1eef29a3 (patch)
treeeb48f909edc1db1cd6bc69f4223562ec04b6bd24 /sound
parentASoC: topology: Add support to configure existing physical DAI links (diff)
downloadlinux-ab4bc5eed8e9c9fa36d80d58c55300dd1eef29a3.tar.xz
linux-ab4bc5eed8e9c9fa36d80d58c55300dd1eef29a3.zip
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: 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index b15a2049efcf..eea28ade5b32 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -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 */