linux/sound/soc/amd
Takashi Iwai 8b5d95313b
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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210731084331.32225-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-08-02 12:14:00 +01:00
..
include
raven ASoC: amd: Fix reference to PCM buffer address 2021-08-02 12:14:00 +01:00
renoir ASoC: amd: Fix reference to PCM buffer address 2021-08-02 12:14:00 +01:00
acp3x-rt5682-max9836.c ASoC: amd: Add support for ALC1015P codec in acp3x machine driver 2021-04-09 20:03:10 +01:00
acp-da7219-max98357a.c ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link 2021-07-22 16:02:20 +01:00
acp-pcm-dma.c ASoC: amd: Fix reference to PCM buffer address 2021-08-02 12:14:00 +01:00
acp-rt5645.c ASoC: amd: use asoc_substream_to_rtd() 2020-07-23 19:07:30 +01:00
acp.h ASoC: use DMA addr rather than CPU pa for acp_audio_dma 2018-12-06 12:53:04 +00:00
Kconfig ASoC: amd: Add support for ALC1015P codec in acp3x machine driver 2021-04-09 20:03:10 +01:00
Makefile ASoC: amd: enable Renoir acp3x drivers build 2020-05-19 13:45:34 +01:00