mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00

* Fix first USB not available * Fix first USB not available * Fix first USB not available
18 lines
521 B
Diff
18 lines
521 B
Diff
--- a/drivers/phy/amlogic/phy-meson8b-usb2.c
|
|
+++ b/drivers/phy/amlogic/phy-meson8b-usb2.c
|
|
@@ -195,12 +195,12 @@ static int phy_meson8b_usb2_power_on(str
|
|
udelay(ACA_ENABLE_COMPLETE_TIME);
|
|
|
|
regmap_read(priv->regmap, REG_ADP_BC, ®);
|
|
- if (reg & REG_ADP_BC_ACA_PIN_FLOAT) {
|
|
+ /*if (reg & REG_ADP_BC_ACA_PIN_FLOAT) {
|
|
dev_warn(&phy->dev, "USB ID detect failed!\n");
|
|
clk_disable_unprepare(priv->clk_usb);
|
|
clk_disable_unprepare(priv->clk_usb_general);
|
|
return -EINVAL;
|
|
- }
|
|
+ }*/
|
|
}
|
|
}
|
|
|