summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/aiu-fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/meson/aiu-fifo.c')
-rw-r--r--sound/soc/meson/aiu-fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/aiu-fifo.c b/sound/soc/meson/aiu-fifo.c
index 4041ff8e437f..b222bde1f61b 100644
--- a/sound/soc/meson/aiu-fifo.c
+++ b/sound/soc/meson/aiu-fifo.c
@@ -25,7 +25,7 @@
static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss)
{
- struct snd_soc_pcm_runtime *rtd = ss->private_data;
+ struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(ss);
return snd_soc_rtd_to_cpu(rtd, 0);
}