usb: xHCI host not responding to stop endpoint command [1/1]

PD#OTT-4738

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 <he.he@amlogic.com>
(cherry picked from commit ac1b16e006)
This commit is contained in:
he.he
2019-08-29 07:09:28 -04:00
committed by Chris KIM
parent 62416bdacf
commit a2a5e934c8
2 changed files with 2 additions and 0 deletions

View File

@@ -764,6 +764,7 @@ static int dwc3_core_init(struct dwc3 *dwc)
#ifdef CONFIG_AMLOGIC_USB
reg = dwc3_readl(dwc->regs, DWC3_GUCTL1);
reg |= DWC3_GUCTL_NAKPERENHHS;
reg |= DWC3_GUCTL_PARKMODEDISABLESS;
dwc3_writel(dwc->regs, DWC3_GUCTL1, reg);
reg = dwc3_readl(dwc->regs, DWC3_GUCTL);

View File

@@ -160,6 +160,7 @@
/* Global User Control Register */
#define DWC3_GUCTL_USBHSTINAUTORETRYEN (1 << 14)
#define DWC3_GUCTL_NAKPERENHHS (1 << 18)
#define DWC3_GUCTL_PARKMODEDISABLESS (1 << 17)
#endif
/* Global Debug Queue/FIFO Space Available Register */