diff options
author | Paul Cercueil <paul@crapouillou.net> | 2024-04-02 13:09:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-04 15:20:30 +0200 |
commit | 1500a7b2794d46beadd408132ddb5ef669c5c057 (patch) | |
tree | 34fab47223c741728fe947592e0e788d6c957b18 /scripts/gdb/linux/timerlist.py | |
parent | ce4c8d21054ae9396cd759fe6e8157b525616dc4 (diff) |
usb: gadget: functionfs: Fix inverted DMA fence direction
A "read" fence was installed when the DMABUF was to be written to,
and a "write" fence was installed when the DMABUF was to be read from.
Besides, dma_resv_usage_rw() should only be used when waiting for
fences.
Fixes: 7b07a2a7ca02 ("usb: gadget: functionfs: Add DMABUF import interface")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20240402110951.16376-2-paul@crapouillou.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions