diff options
| author | Peter Chen <[email protected]> | 2016-11-08 10:08:24 +0800 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2016-11-18 13:54:09 +0200 |
| commit | 982555fc26f9d8bcdbd5f9db0378fe0682eb4188 (patch) | |
| tree | 3b562298a9c9ccb692872df771e8e72eeb021dd1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dbf499cf720a0096acea7641492d9edeffc25d10 (diff) | |
usb: gadget: fix request length error for isoc transfer
For isoc endpoint descriptor, the wMaxPacketSize is not real max packet
size (see Table 9-13. Standard Endpoint Descriptor, USB 2.0 specifcation),
it may contain the number of packet, so the real max packet should be
ep->desc->wMaxPacketSize && 0x7ff.
Cc: Felipe F. Tonello <[email protected]>
Cc: Felipe Balbi <[email protected]>
Fixes: 16b114a6d797 ("usb: gadget: fix usb_ep_align_maybe
endianness and new usb_ep_aligna")
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions