mirror of
https://github.com/torvalds/linux.git
synced 2026-09-20 19:01:02 +02:00
mtu3_gadget_queue() maps the request before checking whether
the QMU GPD ring can accept another transfer. the request is
returned with -EAGAIN before it is linked on the endpoint
request list if mtu3_prepare_transfer() fails.
Normal completion and dequeue paths unmap requests from
mtu3_req_complete(), but this error path never reaches that
helper, so the DMA mapping is left active. Unmap the request
before returning from the failed queue path.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mtu3_core.c | ||
| mtu3_debug.h | ||
| mtu3_debugfs.c | ||
| mtu3_dr.c | ||
| mtu3_dr.h | ||
| mtu3_gadget_ep0.c | ||
| mtu3_gadget.c | ||
| mtu3_host.c | ||
| mtu3_hw_regs.h | ||
| mtu3_plat.c | ||
| mtu3_qmu.c | ||
| mtu3_qmu.h | ||
| mtu3_trace.c | ||
| mtu3_trace.h | ||
| mtu3.h | ||