diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-09-11 23:50:01 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-25 14:16:37 +0200 |
commit | 5f444041c1d225bcc8f44dc4b027eb41e2f2f175 (patch) | |
tree | cfacdaa4ade072a49e6e368316d44494db075f14 /sound/soc/loongson/loongson_dma.c | |
parent | fe4c755de065b156ddc884a5b21b38e7063468b1 (diff) |
ASoC: loongson: 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/87bke8qnh3.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/loongson/loongson_dma.c')
-rw-r--r-- | sound/soc/loongson/loongson_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/loongson/loongson_dma.c b/sound/soc/loongson/loongson_dma.c index 65b6719e61c5..8090662e8ff2 100644 --- a/sound/soc/loongson/loongson_dma.c +++ b/sound/soc/loongson/loongson_dma.c @@ -267,7 +267,7 @@ static int loongson_pcm_open(struct snd_soc_component *component, goto pos_err; } - dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); + dma_data = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream); prtd->dma_data = dma_data; substream->runtime->private_data = prtd; @@ -321,7 +321,7 @@ static int loongson_pcm_new(struct snd_soc_component *component, if (!substream) continue; - dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), + dma_data = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream); ret = devm_request_irq(card->dev, dma_data->irq, loongson_pcm_dma_irq, |