linux-stable/sound/soc/amd/renoir
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
..
acp3x-pdm-dma.c ASoC: amd: Fix reference to PCM buffer address 2021-08-02 12:14:00 +01:00
acp3x-rn.c ASoC: amd: RN machine driver using dmic 2020-05-19 13:45:36 +01:00
Makefile AsoC: amd: add missing snd- module prefix to the acp3x-rn driver kernel module 2020-06-25 15:06:56 +01:00
rn-pci-acp3x.c ASoC: amd: renoir: Run hibernation callbacks 2021-07-22 12:40:01 +01:00
rn_acp3x.h ASoC: amd: add logic to check dmic hardware runtime 2020-07-03 17:33:45 +01:00
rn_chip_offset_byte.h