armbian_build/patch/kernel/archive/meson-6.1/board_onecloud/usb-disable-ACA-check.patch
hzyitc e4bb1fed8f
meson: edge: bump to v6.1 (#4562)
* meson: edge: Bump v6.1
* meson: edge: refresh patches
* meson: edge: refresh config
2022-12-13 14:42:31 +01:00

34 lines
933 B
Diff

USB: Disable ACA check
In V1.3, USB0 fails in this check.
But it can work normally.
So just disable this check.
---
drivers/phy/amlogic/phy-meson8b-usb2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/phy/amlogic/phy-meson8b-usb2.c b/drivers/phy/amlogic/phy-meson8b-usb2.c
index dd96763911b..dff1bc44f1c 100644
--- a/drivers/phy/amlogic/phy-meson8b-usb2.c
+++ b/drivers/phy/amlogic/phy-meson8b-usb2.c
@@ -197,13 +197,13 @@ static int phy_meson8b_usb2_power_on(struct phy *phy)
udelay(ACA_ENABLE_COMPLETE_TIME);
regmap_read(priv->regmap, REG_ADP_BC, &reg);
- 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);
reset_control_rearm(priv->reset);
return -EINVAL;
- }
+ }*/
}
}
--
2.34.1