summaryrefslogtreecommitdiff
path: root/sound/soc/meson/aiu-fifo.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-26 15:16:52 +0200
committerMark Brown <broonie@kernel.org>2023-09-26 15:16:52 +0200
commite952e89b0602aeb856396eac4306098249c43548 (patch)
tree2517bc206c57d13866de8c0e24a70056a716b0e8 /sound/soc/meson/aiu-fifo.c
parent7b71da59122c3ab82908910abf78db1fd6340cac (diff)
parentc067b1f83ea46346a352c2e43ac80f2166172d8a (diff)
ASoC: convert asoc_xxx() to snd_soc_xxx()
Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>: ASoC is using 2 type of prefix (asoc_xxx() vs snd_soc_xxx()), but there is no particular reason about that [1]. To reduce confusing, standarding these to snd_soc_xxx() is sensible. This patch adds asoc_xxx() macro to keep compatible for a while. It will be removed if all drivers were switched to new style. Link: https://lore.kernel.org/r/87h6td3hus.wl-kuninori.morimoto.gx@renesas.com [1]
Diffstat (limited to 'sound/soc/meson/aiu-fifo.c')
-rw-r--r--sound/soc/meson/aiu-fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/aiu-fifo.c b/sound/soc/meson/aiu-fifo.c
index 543d41856c12..4041ff8e437f 100644
--- a/sound/soc/meson/aiu-fifo.c
+++ b/sound/soc/meson/aiu-fifo.c
@@ -27,7 +27,7 @@ static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss)
{
struct snd_soc_pcm_runtime *rtd = ss->private_data;
- return asoc_rtd_to_cpu(rtd, 0);
+ return snd_soc_rtd_to_cpu(rtd, 0);
}
snd_pcm_uframes_t aiu_fifo_pointer(struct snd_soc_component *component,