Skip to content

Commit

Permalink
rockchip64: increase timeout for usb3 type C phy init
Browse files Browse the repository at this point in the history
  • Loading branch information
paolosabatino committed Sep 2, 2023
1 parent ba81b0d commit 0c75dc4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patch/kernel/archive/rockchip64-6.5/rk3399-fix-usb-phy.patch
@@ -0,0 +1,13 @@
diff --git a/drivers/phy/rockchip/phy-rockchip-typec.c b/drivers/phy/rockchip/phy-rockchip-typec.c
index aae021e192a4..5b09e19b2add 100644
--- a/drivers/phy/rockchip/phy-rockchip-typec.c
+++ b/drivers/phy/rockchip/phy-rockchip-typec.c
@@ -904,7 +904,7 @@ static int rockchip_usb3_phy_power_on(struct phy *phy)
tcphy_cfg_usb3_to_usb2_only(tcphy, false);
goto unlock_ret;
}
- usleep_range(10, 20);
+ usleep_range(100, 200);
}

if (tcphy->mode == MODE_DISCONNECT)

0 comments on commit 0c75dc4

Please sign in to comment.