linux_dsm_epyc7002/sound/soc/amd
Takashi Iwai 1c11ebe862 ASoC: amd: Fix reference to PCM buffer address
commit 8b5d95313b6d30f642e4ed0125891984c446604e 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/20210731084331.32225-1-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
..
include ASoC: AMD : add ACP 2.2 register headers 2016-01-10 12:44:10 +00:00
raven ASoC: amd: Fix reference to PCM buffer address 2024-07-05 18:53:59 +02:00
renoir ASoC: amd: Fix reference to PCM buffer address 2024-07-05 18:53:59 +02:00
acp3x-rt5682-max9836.c ASoC: AMD: Clean kernel log from deferred probe error messages 2020-08-27 14:43:23 +01:00
acp-da7219-max98357a.c ASoC: amd: change clk_get() to devm_clk_get() and add missed checks 2020-12-30 11:53:43 +01:00
acp-pcm-dma.c ASoC: amd: Fix reference to PCM buffer address 2024-07-05 18:53:59 +02: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: Adding support for ALC1015 codec in machine driver 2020-07-30 21:00:32 +01:00
Makefile ASoC: amd: enable Renoir acp3x drivers build 2020-05-19 13:45:34 +01:00