linux/drivers/usb/dwc2
Meng Dongyang f367b72c4e usb: dwc2: skip L2 state of hcd if controller work in device mode
In the case hcd autosuspend is enabled, the hcd will enter L2 state
if no device connected. But if the controller works in otg mode, the
gadget driver still works in L0 state if connected with host. This
may result in transfer fail when gadget enqueue new request but the
hcd driver has set the global state into L2. This patch prevent the
hcd enter L2 state if the controller work in device mode.

Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-08-15 14:18:55 +03:00
..
Kconfig usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW 2017-03-17 13:16:56 +09:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
core.c usb: dwc2: host: use msleep() for long delay 2017-01-24 16:19:10 +02:00
core.h usb: dwc2: Add support for STM32F429/439/469 USB OTG HS/FS in FS mode (internal PHY) 2017-04-11 10:58:17 +03:00
core_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
debug.h usb: dwc2: Add identifier in prototypes 2017-01-24 11:04:18 +02:00
debugfs.c usb: dwc2: Show dr_mode via debugfs 2017-01-24 16:19:08 +02:00
gadget.c usb: dwc2: gadget: make usb_ep_ops const 2017-08-15 14:18:54 +03:00
hcd.c usb: dwc2: skip L2 state of hcd if controller work in device mode 2017-08-15 14:18:55 +03:00
hcd.h usb: dwc2: eliminate irq parameter from dwc2_hcd_init 2017-01-26 10:52:01 +02:00
hcd_ddma.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_queue.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hw.h usb: dwc2: Add support for STM32F429/439/469 USB OTG HS/FS in FS mode (internal PHY) 2017-04-11 10:58:17 +03:00
params.c usb: dwc2: add support for the DWC2 controller on Meson8 SoCs 2017-06-02 11:27:36 +03:00
pci.c usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
platform.c usb: dwc2: simplify optional reset handling 2017-04-11 10:58:22 +03:00