mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
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:
parent
98ed180626
commit
dd34ce10d8
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue