linux/sound/x86
Zhen Ni d57c4e88b9 ALSA: intel_hdmi: Fix reference to PCM buffer address
commit 0aa6b294b3 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.

Signed-off-by: Zhen Ni <nizhen@uniontech.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220302074241.30469-1-nizhen@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-08 19:01:56 +01:00
..
intel_hdmi_audio.c ALSA: intel_hdmi: Fix reference to PCM buffer address 2022-03-08 19:01:56 +01:00
intel_hdmi_audio.h ALSA: x86: Register multiple PCM devices for the LPE audio card 2017-05-03 16:24:00 +03:00
intel_hdmi_lpe_audio.h ALSA: x86: Allow single period PCM operation 2017-02-10 10:21:42 +01:00
Kconfig ALSA: x86: Make CONFIG_SND_X86 bool 2017-03-21 13:26:02 +01:00
Makefile ALSA: x86: Fold intel_hdmi_audio_if.c into main file 2017-02-03 17:31:54 +01:00