diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-09-24 01:21:55 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:44 +0300 |
commit | 490410b2e73cd350ba91946913b017c8f6e1b612 (patch) | |
tree | 70e15326a361d353e5715649bcc9cf9b2a4104df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 13111fcb0d64fb69bd7466d6e2ca6ed7b95a9d50 (diff) |
usb: dwc3: gadget: Check for number of TRBs prepared
By returning the number of TRBs prepared, we know whether to execute
__dwc3_gadget_kick_transfer(). This allows us to check if we ran out of
TRBs when extra TRBs are needed for OUT transfers. It also allows us to
properly handle usb_gadget_map_request_by_dev() error.
Fixes: c6267a51639b ("usb: dwc3: gadget: align transfers to wMaxPacketSize")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions