diff options
| author | Thinh Nguyen <[email protected]> | 2020-09-24 01:21:43 -0700 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-10-02 09:57:44 +0300 |
| commit | 66706077dc89c66a4777a4c6298273816afb848c (patch) | |
| tree | 2fa53d12056b0e4988250bc94c0aa4febfc0a999 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a2841f41d07fc85cf47d13fda30e254c5413e514 (diff) | |
usb: dwc3: ep0: Fix ZLP for OUT ep0 requests
The current ZLP handling for ep0 requests is only for control IN
requests. For OUT direction, DWC3 needs to check and setup for MPS
alignment.
Usually, control OUT requests can indicate its transfer size via the
wLength field of the control message. So usb_request->zero is usually
not needed for OUT direction. To handle ZLP OUT for control endpoint,
make sure the TRB is MPS size.
Cc: [email protected]
Fixes: c7fcdeb2627c ("usb: dwc3: ep0: simplify EP0 state machine")
Fixes: d6e5a549cc4d ("usb: dwc3: simplify ZLP handling")
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions