linux_dsm_epyc7002/sound/soc/xilinx
Takashi Iwai cd45e3ff4a ASoC: xilinx: Fix reference to PCM buffer address
commit 42bc62c9f1d3d4880bdc27acb5ab4784209bb0b0 upstream.

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210728112353.6675-4-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 18:53:59 +02:00
..
Kconfig sound: remove duplicate "the the" phrase in Kconfig text 2020-08-18 14:52:43 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xlnx_formatter_pcm.c ASoC: xilinx: Fix reference to PCM buffer address 2024-07-05 18:53:59 +02:00
xlnx_i2s.c ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:08:43 +01:00
xlnx_spdif.c ASoC: xlnx: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:08:43 +01:00