diff options
author | Kuninori Morimoto <[email protected]> | 2020-03-23 14:21:42 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-27 14:44:55 +0000 |
commit | aafa4ef55c80f3c5f216f6b9b76dc469c917fe63 (patch) | |
tree | 054598445873ac7a17eb9aad4634502f74631a1f | |
parent | 99396e3883672a9073e7458b40504d647351b54f (diff) |
ASoC: xtensa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer
Signed-off-by: Kuninori Morimoto <[email protected]>
Tested-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/xtensa/xtfpga-i2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/xtensa/xtfpga-i2s.c b/sound/soc/xtensa/xtfpga-i2s.c index bcf442faff7c..68af2176b19c 100644 --- a/sound/soc/xtensa/xtfpga-i2s.c +++ b/sound/soc/xtensa/xtfpga-i2s.c @@ -373,7 +373,7 @@ static int xtfpga_pcm_open(struct snd_soc_component *component, void *p; snd_soc_set_runtime_hwparams(substream, &xtfpga_pcm_hardware); - p = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); + p = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); runtime->private_data = p; return 0; |