Revert "usb: dwc3: core: parkmode_disable_hs_quirk depends on CONFIG_NO_GKI"

This reverts commit 34d90e4a42.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2024-01-30 10:49:06 +08:00
parent 56177f3f2c
commit a4da08bddc
2 changed files with 0 additions and 6 deletions

View File

@@ -1265,10 +1265,8 @@ static int dwc3_core_init(struct dwc3 *dwc)
if (dwc->parkmode_disable_ss_quirk)
reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS;
#ifdef CONFIG_NO_GKI
if (dwc->parkmode_disable_hs_quirk)
reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS;
#endif
if (DWC3_VER_IS_WITHIN(DWC3, 290A, ANY) &&
(dwc->maximum_speed == USB_SPEED_HIGH ||
@@ -1576,10 +1574,8 @@ static void dwc3_get_properties(struct dwc3 *dwc)
"snps,resume-hs-terminations");
dwc->parkmode_disable_ss_quirk = device_property_read_bool(dev,
"snps,parkmode-disable-ss-quirk");
#ifdef CONFIG_NO_GKI
dwc->parkmode_disable_hs_quirk = device_property_read_bool(dev,
"snps,parkmode-disable-hs-quirk");
#endif
dwc->gfladj_refclk_lpm_sel = device_property_read_bool(dev,
"snps,gfladj-refclk-lpm-sel-quirk");

View File

@@ -1342,9 +1342,7 @@ struct dwc3 {
unsigned dis_tx_ipgap_linecheck_quirk:1;
unsigned resume_hs_terminations:1;
unsigned parkmode_disable_ss_quirk:1;
#ifdef CONFIG_NO_GKI
unsigned parkmode_disable_hs_quirk:1;
#endif
unsigned gfladj_refclk_lpm_sel:1;
unsigned tx_de_emphasis_quirk:1;