summaryrefslogtreecommitdiff
path: root/sound/soc/meson/aiu-fifo-spdif.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-01-31 02:00:57 +0000
committerMark Brown <broonie@kernel.org>2023-01-31 11:05:03 +0000
commitc765ceda78f0bd9df1217f9beaefea58ecf3865c (patch)
tree873ecf3fdd6f13f173a4270d537e7292f0f6e81e /sound/soc/meson/aiu-fifo-spdif.c
parent0df2ec8e4706a6adc36d12cc5cf8e1fa7485fbf5 (diff)
ASoC: meson: use helper function
Current ASoC has many helper function. This patch use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/87r0vbea3r.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/aiu-fifo-spdif.c')
-rw-r--r--sound/soc/meson/aiu-fifo-spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/aiu-fifo-spdif.c b/sound/soc/meson/aiu-fifo-spdif.c
index 2fb30f89bf7a..ddbd2fc40185 100644
--- a/sound/soc/meson/aiu-fifo-spdif.c
+++ b/sound/soc/meson/aiu-fifo-spdif.c
@@ -173,7 +173,7 @@ int aiu_fifo_spdif_dai_probe(struct snd_soc_dai *dai)
if (ret)
return ret;
- fifo = dai->playback_dma_data;
+ fifo = snd_soc_dai_dma_data_get_playback(dai);
fifo->pcm = &fifo_spdif_pcm;
fifo->mem_offset = AIU_MEM_IEC958_START;