projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3639eea
)
phy: rockchip-inno-usb2: add a delay after phy resume
author
William Wu
<william.wu@rock-chips.com>
Fri, 5 May 2017 09:51:41 +0000
(17:51 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Mon, 8 May 2017 07:45:37 +0000
(15:45 +0800)
When resume phy, it need about 1.5 ~ 2ms to wait for
utmi_clk which used for USB controller to become stable.
Change-Id: I319a28069b4b3381f22cc34567226f341e948bd4
Signed-off-by: William Wu <william.wu@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb2.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-rockchip-inno-usb2.c
b/drivers/phy/phy-rockchip-inno-usb2.c
index 6a038a8cb9063cef71b5aa1d7768135d15e6aa96..0b705b15cd969021945a842404f23804417336ff 100644
(file)
--- a/
drivers/phy/phy-rockchip-inno-usb2.c
+++ b/
drivers/phy/phy-rockchip-inno-usb2.c
@@
-534,6
+534,9
@@
static int rockchip_usb2phy_power_on(struct phy *phy)
if (ret)
return ret;
+ /* waiting for the utmi_clk to become stable */
+ usleep_range(1500, 2000);
+
rport->suspended = false;
return 0;
}