diff options
author | Zhen Ni <[email protected]> | 2022-03-02 15:42:41 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-03-02 09:25:37 +0100 |
commit | 0aa6b294b312d9710804679abd2c0c8ca52cc2bc (patch) | |
tree | 76f93ef959ba6fc672e9ac40e8c2c128dbc4378c /net/switchdev/switchdev.c | |
parent | ce345f1e48458837a5b064cac94382c095e00e79 (diff) |
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 <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions