Loading drivers/usb/dwc3/core.c +11 −0 Original line number Diff line number Diff line Loading @@ -1002,6 +1002,17 @@ int dwc3_core_init(struct dwc3 *dwc) if (dwc->dis_tx_ipgap_linecheck_quirk) reg |= DWC3_GUCTL1_TX_IPGAP_LINECHECK_DIS; /* * STAR: 9001415732: Host failure when Park mode is enabled: * Disable parkmode for Gen1 controllers to fix the stall * seen during host mode transfers on multiple endpoints. */ if (!dwc3_is_usb31(dwc)) { reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS; reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS; reg |= DWC3_GUCTL1_PARKMODE_DISABLE_FSLS; } dwc3_writel(dwc->regs, DWC3_GUCTL1, reg); } Loading drivers/usb/dwc3/core.h +5 −0 Original line number Diff line number Diff line Loading @@ -266,6 +266,11 @@ #define DWC3_GUCTL1_TX_IPGAP_LINECHECK_DIS BIT(28) #define DWC3_GUCTL1_DEV_L1_EXIT_BY_HW BIT(24) #define DWC3_GUCTL1_IP_GAP_ADD_ON(n) (n << 21) #define DWC3_GUCTL1_PARKMODE_DISABLE_SS BIT(17) #define DWC3_GUCTL1_PARKMODE_DISABLE_HS BIT(16) #define DWC3_GUCTL1_PARKMODE_DISABLE_FSLS BIT(15) #define DWC3_GUCTL1_L1_SUSP_THRLD_EN_FOR_HOST BIT(8) /* Global Status Register */ Loading Loading
drivers/usb/dwc3/core.c +11 −0 Original line number Diff line number Diff line Loading @@ -1002,6 +1002,17 @@ int dwc3_core_init(struct dwc3 *dwc) if (dwc->dis_tx_ipgap_linecheck_quirk) reg |= DWC3_GUCTL1_TX_IPGAP_LINECHECK_DIS; /* * STAR: 9001415732: Host failure when Park mode is enabled: * Disable parkmode for Gen1 controllers to fix the stall * seen during host mode transfers on multiple endpoints. */ if (!dwc3_is_usb31(dwc)) { reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS; reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS; reg |= DWC3_GUCTL1_PARKMODE_DISABLE_FSLS; } dwc3_writel(dwc->regs, DWC3_GUCTL1, reg); } Loading
drivers/usb/dwc3/core.h +5 −0 Original line number Diff line number Diff line Loading @@ -266,6 +266,11 @@ #define DWC3_GUCTL1_TX_IPGAP_LINECHECK_DIS BIT(28) #define DWC3_GUCTL1_DEV_L1_EXIT_BY_HW BIT(24) #define DWC3_GUCTL1_IP_GAP_ADD_ON(n) (n << 21) #define DWC3_GUCTL1_PARKMODE_DISABLE_SS BIT(17) #define DWC3_GUCTL1_PARKMODE_DISABLE_HS BIT(16) #define DWC3_GUCTL1_PARKMODE_DISABLE_FSLS BIT(15) #define DWC3_GUCTL1_L1_SUSP_THRLD_EN_FOR_HOST BIT(8) /* Global Status Register */ Loading