Commit bfa0dd89 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: soc-core: rename soc_link_dai_pcm_new() to soc_dai_pcm_new()

soc_link_dai_pcm_new() sounds like dai_link function,
but it is not related to it.
This patch rename soc_link_dai_pcm_new() to soc_dai_pcm_new().
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/8736dtyq5j.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9e9c70a5
...@@ -1102,8 +1102,8 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, ...@@ -1102,8 +1102,8 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card,
} }
EXPORT_SYMBOL_GPL(snd_soc_add_pcm_runtime); EXPORT_SYMBOL_GPL(snd_soc_add_pcm_runtime);
static int soc_link_dai_pcm_new(struct snd_soc_dai **dais, int num_dais, static int soc_dai_pcm_new(struct snd_soc_dai **dais, int num_dais,
struct snd_soc_pcm_runtime *rtd) struct snd_soc_pcm_runtime *rtd)
{ {
int i, ret = 0; int i, ret = 0;
...@@ -1464,11 +1464,11 @@ static int soc_link_init(struct snd_soc_card *card, ...@@ -1464,11 +1464,11 @@ static int soc_link_init(struct snd_soc_card *card,
dai_link->stream_name, ret); dai_link->stream_name, ret);
return ret; return ret;
} }
ret = soc_link_dai_pcm_new(&cpu_dai, 1, rtd); ret = soc_dai_pcm_new(&cpu_dai, 1, rtd);
if (ret < 0) if (ret < 0)
return ret; return ret;
ret = soc_link_dai_pcm_new(rtd->codec_dais, ret = soc_dai_pcm_new(rtd->codec_dais,
rtd->num_codecs, rtd); rtd->num_codecs, rtd);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment