Merge tag 'asoc-v6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[sfrench/cifs-2.6.git] / sound / soc / amd / ps / ps-sdw-dma.c
index 66b800962f8cc4917ac236643ca699bb82499ff3..2f630753278dc62d763bb4f5e39ba35fb4e5dec0 100644 (file)
@@ -218,7 +218,7 @@ static int acp63_sdw_dma_open(struct snd_soc_component *component,
        struct acp_sdw_dma_stream *stream;
        struct snd_soc_dai *cpu_dai;
        struct amd_sdw_manager *amd_manager;
-       struct snd_soc_pcm_runtime *prtd = substream->private_data;
+       struct snd_soc_pcm_runtime *prtd = snd_soc_substream_to_rtd(substream);
        int ret;
 
        runtime = substream->runtime;