diff options
| author | Thinh Nguyen <[email protected]> | 2018-07-28 01:52:41 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2018-07-30 07:39:20 +0000 |
| commit | 4ea438da76f4277627347147f6f7004affae07b9 (patch) | |
| tree | f113b949e10d06e8be0304986e8f2e29dbd44fa6 /lib/bitmap.c | |
| parent | usb: dwc2: Turn on uframe_sched on "stm32f4x9_fsotg" platforms (diff) | |
| download | kernel-4ea438da76f4277627347147f6f7004affae07b9.tar.gz kernel-4ea438da76f4277627347147f6f7004affae07b9.zip | |
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 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
