linux/drivers/usb/dwc3
Thinh Nguyen 4ea438da76 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>
2018-07-30 10:39:20 +03:00
..
core.c usb: dwc3: core: Enable AutoRetry feature in the controller 2018-07-30 10:39:18 +03:00
core.h usb: dwc3: core: Enable AutoRetry feature in the controller 2018-07-30 10:39:18 +03:00
debug.h usb: dwc3: debug: decode uFrame from event too 2018-05-21 10:00:59 +03:00
debugfs.c USB: dwc3: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
drd.c usb: dwc3: dwc3_get_extcon() can be static 2018-05-21 10:01:01 +03:00
dwc3-exynos.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-haps.c usb: dwc3: Add a glue driver for Synopsys HAPS platform 2018-07-26 13:47:51 +03:00
dwc3-keystone.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
dwc3-of-simple.c usb: dwc3: of-simple: reset host controller at suspend/resume 2018-07-26 14:01:50 +03:00
dwc3-omap.c usb: dwc3: omap: don't miss events during suspend/resume 2018-02-12 10:53:18 +02:00
dwc3-pci.c usb: dwc3: pci: Intel Merrifield can be host 2018-07-30 10:39:16 +03:00
dwc3-qcom.c usb: dwc3: qcom: mark PM functions as __maybe_unused 2018-06-19 12:48:12 +03:00
dwc3-st.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
ep0.c usb: dwc3: gadget: initialize transfer index from send_gadget_ep_cmd() 2018-05-21 10:01:01 +03:00
gadget.c usb: dwc3: gadget: Check MaxPacketSize from descriptor 2018-07-30 10:39:20 +03:00
gadget.h usb: dwc3: change stream event enable bit back to 13 2018-07-26 14:04:28 +03:00
host.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
io.h USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: dwc3: Add a glue driver for Synopsys HAPS platform 2018-07-26 13:47:51 +03:00
Makefile usb: dwc3: Add a glue driver for Synopsys HAPS platform 2018-07-26 13:47:51 +03:00
trace.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00
trace.h usb: dwc3: gadget: remove duplicated missed isoc handling 2018-05-21 10:00:53 +03:00
ulpi.c USB: dwc3: Remove redundant license text 2017-11-07 15:45:01 +01:00