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 <ugoswami@codeaurora.org>
This commit is contained in:
Udipto Goswami 2021-02-15 18:20:08 +05:30 • committed by Gerrit - the friendly Code Review server
commit dd34ce10d8

View file

@ -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;
}