armbian_build/patch/kernel/archive/meson-5.15/board_onecloud/usb-disable-ACA-check.patch
hzyitc 6ba59da07a
meson: bump kernel versions (#4102)
* meson: bump version

bump edge to thirdparty linux-5.18-rc7
bump current to linux-5.15
change legacy back to LTS linux-5.10

* Upgrade kernel config

* meson: edge and current: Enable NTFS3 driver
2022-08-21 20:44:50 +02:00

34 lines
935 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 dd96763911b8..dff1bc44f1ca 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.25.1