projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b62329
)
usb: fix usb phy 1 reset bug.
author
Yue Wang
<yue.wang@amlogic.com>
Tue, 29 May 2018 02:13:59 +0000
(10:13 +0800)
committer
Yue Wang
<yue.wang@amlogic.com>
Tue, 29 May 2018 02:17:04 +0000
(10:17 +0800)
PD#167234: usb: fix usb phy 1 reset bug.
Change-Id: Iac4c59a95f8a85553ac665e675a47f1a733cc1a8
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
drivers/amlogic/usb/phy/phy-aml-new-usb-v2.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/usb/phy/phy-aml-new-usb-v2.c
b/drivers/amlogic/usb/phy/phy-aml-new-usb-v2.c
index b16a4830185b91692a7e1d606f0069e79858f0b8..b93c311c0aaaf967f8120580dfb4b3243850b94f 100644
(file)
--- a/
drivers/amlogic/usb/phy/phy-aml-new-usb-v2.c
+++ b/
drivers/amlogic/usb/phy/phy-aml-new-usb-v2.c
@@
-49,10
+49,8
@@
EXPORT_SYMBOL_GPL(amlogic_new_usbphy_reset_v2);
int amlogic_new_usbphy_reset_phycfg_v2(struct amlogic_usb_v2 *phy, int cnt)
{
- int i = 0;
-
if (phy->reset_regs)
- writel((readl(phy->reset_regs) | (1 << (16 +
i
))),
+ writel((readl(phy->reset_regs) | (1 << (16 +
cnt
))),
phy->reset_regs);
return 0;