]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: sof: mediatek: convert not to use asoc_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 11 Sep 2023 23:51:19 +0000 (23:51 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 25 Sep 2023 12:16:46 +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/87r0n4p8uh.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8186/mt8186.c
sound/soc/sof/mediatek/mt8195/mt8195.c

index 8544d65bc2cfae3cab3838e7a0f39b2d40fdad84..811081d9a05cd9d2f6ea03f4cdc8fb657519b8bc 100644 (file)
@@ -457,7 +457,7 @@ static snd_pcm_uframes_t mt8186_pcm_pointer(struct snd_sof_dev *sdev,
        struct sof_ipc_stream_posn posn;
        struct snd_sof_pcm_stream *stream;
        struct snd_soc_component *scomp = sdev->component;
-       struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+       struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
 
        spcm = snd_sof_find_spcm_dai(scomp, rtd);
        if (!spcm) {
index fab2d5af86100791e2ddab586ac0b06b80a05b36..21d4434dd729e0b2b1b74906725f2ff28af550ad 100644 (file)
@@ -476,7 +476,7 @@ static snd_pcm_uframes_t mt8195_pcm_pointer(struct snd_sof_dev *sdev,
        struct sof_ipc_stream_posn posn;
        struct snd_sof_pcm_stream *stream;
        struct snd_soc_component *scomp = sdev->component;
-       struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+       struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
 
        spcm = snd_sof_find_spcm_dai(scomp, rtd);
        if (!spcm) {