From 09ba5865c8080a7b39b77ab5205093bb55757542 Mon Sep 17 00:00:00 2001 From: "he.he" Date: Thu, 29 Aug 2019 07:09:28 -0400 Subject: [PATCH] usb: xHCI host not responding to stop endpoint command [1/1] PD#SWPL-14053 Problem: Read and write simultaneously on two disks on a hub, and then the XHCI controller would halted. Solution: Set the GUCTL1 BIT 17 to 1 for disable park mode. Verify: test pass on u200, ODROID-N2 Change-Id: I007804fa6b97a103da4a05be12c1193b9dd422cb Signed-off-by: he.he --- drivers/usb/dwc3/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 5a248af45765..b7edb41ca8b3 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -160,7 +160,7 @@ /* Global User Control Register */ #define DWC3_GUCTL_USBHSTINAUTORETRYEN (1 << 14) #define DWC3_GUCTL_NAKPERENHHS (1 << 18) -#define DWC3_GUCTL_PARKMODEDISABLESS (1 << 17) +#define DWC3_GUCTL_PARKMODEDISABLESS BIT(17) #endif /* Global Debug Queue/FIFO Space Available Register */