diff options
author | Paul Cercueil <[email protected]> | 2024-04-02 13:09:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-04 15:20:30 +0200 |
commit | 1500a7b2794d46beadd408132ddb5ef669c5c057 (patch) | |
tree | 34fab47223c741728fe947592e0e788d6c957b18 /scripts/gdb/linux/proc.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions