提交 fbbe98cd 编写于 作者: W William Wu 提交者: Kishon Vijay Abraham I

phy: rockchip-inno-usb2: add a delay after phy resume

When resume phy, it need about 1.5 ~ 2ms to wait for
utmi_clk which used for USB controller to become stable.
Signed-off-by: NWilliam Wu <william.wu@rock-chips.com>
Signed-off-by: NFrank Wang <frank.wang@rock-chips.com>
Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
上级 6d6ce40f
...@@ -463,6 +463,9 @@ static int rockchip_usb2phy_power_on(struct phy *phy) ...@@ -463,6 +463,9 @@ static int rockchip_usb2phy_power_on(struct phy *phy)
if (ret) if (ret)
return ret; return ret;
/* waiting for the utmi_clk to become stable */
usleep_range(1500, 2000);
rport->suspended = false; rport->suspended = false;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册