|
|
@@ -171,7 +171,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
},
|
|
|
--- a/drivers/usb/dwc3/core.c
|
|
|
+++ b/drivers/usb/dwc3/core.c
|
|
|
-@@ -1223,6 +1223,24 @@ static void dwc3_config_threshold(struct
|
|
|
+@@ -1224,6 +1224,24 @@ static void dwc3_config_threshold(struct
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -196,7 +196,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
/**
|
|
|
* dwc3_core_init - Low-level initialization of DWC3 Core
|
|
|
* @dwc: Pointer to our controller context structure
|
|
|
-@@ -1288,6 +1306,8 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
+@@ -1289,6 +1307,8 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
|
|
|
dwc3_set_incr_burst_type(dwc);
|
|
|
|
|
|
@@ -205,7 +205,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
ret = dwc3_phy_power_on(dwc);
|
|
|
if (ret)
|
|
|
goto err_exit_phy;
|
|
|
-@@ -1386,6 +1406,24 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
+@@ -1387,6 +1407,24 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
|
|
|
dwc3_config_threshold(dwc);
|
|
|
|
|
|
@@ -230,7 +230,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
return 0;
|
|
|
|
|
|
err_power_off_phy:
|
|
|
-@@ -1529,6 +1567,7 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1530,6 +1568,7 @@ static void dwc3_get_properties(struct d
|
|
|
u8 tx_thr_num_pkt_prd = 0;
|
|
|
u8 tx_max_burst_prd = 0;
|
|
|
u8 tx_fifo_resize_max_num;
|
|
|
@@ -238,7 +238,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
|
|
|
/* default to highest possible threshold */
|
|
|
lpm_nyet_threshold = 0xf;
|
|
|
-@@ -1549,6 +1588,9 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1550,6 +1589,9 @@ static void dwc3_get_properties(struct d
|
|
|
*/
|
|
|
tx_fifo_resize_max_num = 6;
|
|
|
|
|
|
@@ -248,7 +248,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
dwc->maximum_speed = usb_get_maximum_speed(dev);
|
|
|
dwc->max_ssp_rate = usb_get_maximum_ssp_rate(dev);
|
|
|
dwc->dr_mode = usb_get_dr_mode(dev);
|
|
|
-@@ -1669,6 +1711,9 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1670,6 +1712,9 @@ static void dwc3_get_properties(struct d
|
|
|
dwc->dis_split_quirk = device_property_read_bool(dev,
|
|
|
"snps,dis-split-quirk");
|
|
|
|
|
|
@@ -258,7 +258,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
dwc->lpm_nyet_threshold = lpm_nyet_threshold;
|
|
|
dwc->tx_de_emphasis = tx_de_emphasis;
|
|
|
|
|
|
-@@ -1686,6 +1731,8 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1687,6 +1732,8 @@ static void dwc3_get_properties(struct d
|
|
|
dwc->tx_thr_num_pkt_prd = tx_thr_num_pkt_prd;
|
|
|
dwc->tx_max_burst_prd = tx_max_burst_prd;
|
|
|
|
|
|
@@ -267,7 +267,7 @@ This reverts commit 09dfdf6129532e19b2cfd4992d1d09e7119ccd48.
|
|
|
dwc->tx_fifo_resize_max_num = tx_fifo_resize_max_num;
|
|
|
}
|
|
|
|
|
|
-@@ -1978,6 +2025,12 @@ static int dwc3_probe(struct platform_de
|
|
|
+@@ -1979,6 +2026,12 @@ static int dwc3_probe(struct platform_de
|
|
|
if (IS_ERR(dwc->usb_psy))
|
|
|
return dev_err_probe(dev, PTR_ERR(dwc->usb_psy), "couldn't get usb power supply\n");
|
|
|
|