diff options
author | Thinh Nguyen <[email protected]> | 2018-07-27 18:52:41 -0700 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2018-07-30 10:39:20 +0300 |
commit | 4ea438da76f4277627347147f6f7004affae07b9 (patch) | |
tree | f113b949e10d06e8be0304986e8f2e29dbd44fa6 /tools/perf/util/trace-event-scripting.c | |
parent | f8781d55099026061f8b03f2636c0b192f5093e2 (diff) |
usb: dwc3: gadget: Check MaxPacketSize from descriptor
endpoint->maxpacket is not updated after setting the
usb_set_maxpacket_limit() on endpoint enable. The MaxPacketSize can be
different than the endpoint->maxpacket_limit.
DWC3 has been consistently using MaxPacketSize from the endpoint's
descriptor, so let's keep it consistent and use the MaxPacketSize from
the endpoint's descriptor instead.
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions