aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/lpass-tx-macro.c
diff options
context:
space:
mode:
authorMeng Tang <[email protected]>2022-03-16 09:13:03 +0000
committerMark Brown <[email protected]>2022-03-16 16:39:27 +0000
commit54e1bf9f6177a3ffbd920474f4481a25361163aa (patch)
tree1f9f08f5a23cc4f363b1631a5fa26615a9a4dbcf /sound/soc/codecs/lpass-tx-macro.c
parentASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data (diff)
downloadkernel-54e1bf9f6177a3ffbd920474f4481a25361163aa.tar.gz
kernel-54e1bf9f6177a3ffbd920474f4481a25361163aa.zip
ASoC: amd: Fix reference to PCM buffer address
PCM buffers might be allocated dynamically when the buffer preallocation failed or a larger buffer is requested, and it's not guaranteed that substream->dma_buffer points to the actually used buffer. The driver needs to refer to substream->runtime->dma_addr instead for the buffer address. Fixes: cab396d8b22c1 ("ASoC: amd: add ACP5x pcm dma driver ops") Signed-off-by: Meng Tang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
0 files changed, 0 insertions, 0 deletions