linux/sound/soc/xilinx
Takashi Iwai 42bc62c9f1
ASoC: xilinx: 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.

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>
2021-07-30 17:20:50 +01: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 2021-07-30 17:20:50 +01: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