aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/amd/ps/ps-sdw-dma.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-09-11 23:47:45 +0000
committerMark Brown <broonie@kernel.org>2023-09-25 14:16:17 +0200
commitd4f23dcd6906ad8f76df046bad9a0dea353c4543 (patch)
tree5b20c4b56c54e9ee36e48794e71af4ed8ab5319e /sound/soc/amd/ps/ps-sdw-dma.c
parentASoC: arm: convert not to use asoc_xxx() (diff)
downloadwireguard-linux-d4f23dcd6906ad8f76df046bad9a0dea353c4543.tar.xz
wireguard-linux-d4f23dcd6906ad8f76df046bad9a0dea353c4543.zip
ASoC: amd: convert not to use asoc_xxx()
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/878r9cs25b.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/ps/ps-sdw-dma.c')
-rw-r--r--sound/soc/amd/ps/ps-sdw-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/ps/ps-sdw-dma.c b/sound/soc/amd/ps/ps-sdw-dma.c
index 6230d1b12225..9b59063798f2 100644
--- a/sound/soc/amd/ps/ps-sdw-dma.c
+++ b/sound/soc/amd/ps/ps-sdw-dma.c
@@ -222,7 +222,7 @@ static int acp63_sdw_dma_open(struct snd_soc_component *component,
int ret;
runtime = substream->runtime;
- cpu_dai = asoc_rtd_to_cpu(prtd, 0);
+ cpu_dai = snd_soc_rtd_to_cpu(prtd, 0);
amd_manager = snd_soc_dai_get_drvdata(cpu_dai);
stream = kzalloc(sizeof(*stream), GFP_KERNEL);
if (!stream)