[PATCH v2] usb: dwc2: skip L2 state of hcd if work in device mode

From: Meng Dongyang
Date: Tue Aug 08 2017 - 22:31:01 EST


The gadget may fail to enqueue request if the controller has enter L2
state. This patch prevent enter L2 state in hcd driver if the controller
works in device mode.

Change in v2:None, resend to addition maintainer

Meng Dongyang (1):
usb: dwc2: skip L2 state of hcd if controller work in device mode

drivers/usb/dwc2/hcd.c | 6 ++++++
1 file changed, 6 insertions(+)

--
1.9.1