From dd34ce10d821acfc5fdf4d1be2485e20a08ebba7 Mon Sep 17 00:00:00 2001 From: Udipto Goswami Date: Mon, 15 Feb 2021 18:20:08 +0530 Subject: [PATCH] usb: dwc3: Enable parkmode for Gen1 controllers Commit 8799bc1e517f ("usb: dwc3: Disable parkmode for Gen1 controllers") was added to disable the park mode which is a debug feature. But, doing this indirectly affect the host mode throughput for targets using Gen1 controllers in HS mode. Therefore enabling park mode only for HS to improve the throughput numbers in host mode. Change-Id: Iea9e44d0ed0f9e2f9bba6731cae29229d9b46bb1 Signed-off-by: Udipto Goswami --- drivers/usb/dwc3/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 20eebab71392..ec5551a32bb8 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1040,7 +1040,6 @@ int dwc3_core_init(struct dwc3 *dwc) */ if (!dwc3_is_usb31(dwc)) { reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS; - reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS; reg |= DWC3_GUCTL1_PARKMODE_DISABLE_FSLS; }