summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-03-02 15:42:41 +0800
committerTakashi Iwai <tiwai@suse.de>2022-03-02 09:25:37 +0100
commit0aa6b294b312d9710804679abd2c0c8ca52cc2bc (patch)
tree76f93ef959ba6fc672e9ac40e8c2c128dbc4378c /sound/core
parentce345f1e48458837a5b064cac94382c095e00e79 (diff)
downloadlinux-0aa6b294b312d9710804679abd2c0c8ca52cc2bc.tar.bz2
ALSA: intel_hdmi: 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. 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>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions