summaryrefslogtreecommitdiff
path: root/sound/soc/meson/meson-codec-glue.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/meson-codec-glue.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/meson-codec-glue.c')
-rw-r--r--sound/soc/meson/meson-codec-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/meson-codec-glue.c b/sound/soc/meson/meson-codec-glue.c
index e702d408ee96..f8c5643f3cfe 100644
--- a/sound/soc/meson/meson-codec-glue.c
+++ b/sound/soc/meson/meson-codec-glue.c
@@ -98,7 +98,7 @@ EXPORT_SYMBOL_GPL(meson_codec_glue_input_set_fmt);
int meson_codec_glue_output_startup(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
- struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+ struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget_capture(dai);
struct meson_codec_glue_input *in_data = meson_codec_glue_output_get_input_data(w);