diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2018-07-28 04:52:41 +0300 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-07-30 10:39:20 +0300 |
| commit | 4ea438da76f4277627347147f6f7004affae07b9 (patch) | |
| tree | f113b949e10d06e8be0304986e8f2e29dbd44fa6 /include/linux/fpga/fpga-region.h | |
| parent | f8781d55099026061f8b03f2636c0b192f5093e2 (diff) | |
| download | linux-4ea438da76f4277627347147f6f7004affae07b9.tar.xz | |
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 <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions
