ASoC: sof: amd: convert not to use asoc_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 11 Sep 2023 23:51:08 +0000 (23:51 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 25 Sep 2023 12:16:44 +0000 (14:16 +0200)
ASoC is now unified asoc_xxx() into snd_soc_xxx().
This patch convert asoc_xxx() to snd_soc_xxx().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87tts0p8ur.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp-pcm.c

index 0828245bbb997de398414bf36e0bb5cbcb046314..cee0b1154874285df63d03a414cb082211dba4c1 100644 (file)
@@ -89,7 +89,7 @@ EXPORT_SYMBOL_NS(acp_pcm_close, SND_SOC_SOF_AMD_COMMON);
 snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev,
                                  struct snd_pcm_substream *substream)
 {
-       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_component *scomp = sdev->component;
        struct snd_sof_pcm_stream *stream;
        struct sof_ipc_stream_posn posn;