summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-03-02 15:42:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-08 19:12:42 +0100
commit3eb418122d12d1a05e3645cf90128a6a936a22ac (patch)
treef39ac4db77744918a0ffb03858e4b40086349490 /kernel
parent9285523b41746110814058f99a940f3edf2b5582 (diff)
ALSA: intel_hdmi: Fix reference to PCM buffer address
commit 0aa6b294b312d9710804679abd2c0c8ca52cc2bc 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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions