diff options
| author | Paul Cercueil <[email protected]> | 2024-04-02 11:09:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-04 13:20:30 +0000 |
| commit | 1500a7b2794d46beadd408132ddb5ef669c5c057 (patch) | |
| tree | 34fab47223c741728fe947592e0e788d6c957b18 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | usb: typec: ucsi: Fix connector check on init (diff) | |
| download | kernel-1500a7b2794d46beadd408132ddb5ef669c5c057.tar.gz kernel-1500a7b2794d46beadd408132ddb5ef669c5c057.zip | |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
