summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/acp-pcm-dma.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-08-06 02:46:24 +0200
committerMark Brown <broonie@kernel.org>2021-08-06 02:46:24 +0200
commitddaa1ed52c5da64fe9adf1d5ea6202cda3a53eea (patch)
tree119c5b9dcf67841af4a92f3d3a9b5e4efcc4557b /sound/soc/amd/acp-pcm-dma.c
parentASoC: rt5640: Silence warning message about missing interrupt (diff)
parentASoC: cs42l42: Update module authors (diff)
downloadlinux-ddaa1ed52c5da64fe9adf1d5ea6202cda3a53eea.tar.xz
linux-ddaa1ed52c5da64fe9adf1d5ea6202cda3a53eea.zip
Merge some cs42l42 patches into asoc-5.15
Diffstat (limited to 'sound/soc/amd/acp-pcm-dma.c')
-rw-r--r--sound/soc/amd/acp-pcm-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index ee8e9a3bcadf..11b3c4f39eba 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -969,7 +969,7 @@ static int acp_dma_hw_params(struct snd_soc_component *component,
acp_set_sram_bank_state(rtd->acp_mmio, 0, true);
/* Save for runtime private data */
- rtd->dma_addr = substream->dma_buffer.addr;
+ rtd->dma_addr = runtime->dma_addr;
rtd->order = get_order(size);
/* Fill the page table entries in ACP SRAM */