linux/drivers/usb/dwc3
Thinh Nguyen 87dd96111b usb: dwc3: gadget: Check ENBLSLPM before sending ep command
When operating in USB 2.0 speeds (HS/FS), if GUSB2PHYCFG.ENBLSLPM or
GUSB2PHYCFG.SUSPHY is set, it must be cleared before issuing an endpoint
command.

Current implementation only save and restore GUSB2PHYCFG.SUSPHY
configuration. We must save and clear both GUSB2PHYCFG.ENBLSLPM and
GUSB2PHYCFG.SUSPHY settings. Restore them after the command is
completed.

DWC_usb3 3.30a and DWC_usb31 1.90a programming guide section 3.2.2

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-10-02 10:38:19 +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: exynos: Add support for Exynos5433 variant with all clocks 2018-10-02 10:33:01 +03: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: avoid unused function warnings 2018-08-29 09:59:37 +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: Fix return value check in dwc3_byt_enable_ulpi_refclock() 2018-08-29 10:01:34 +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: remove redundant variable maxpacket 2018-07-13 15:41:56 +02:00
gadget.c usb: dwc3: gadget: Check ENBLSLPM before sending ep command 2018-10-02 10:38:19 +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 EXTCON dependency for qcom 2018-10-02 10:33:43 +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