mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
usb: fix usb phy 1 reset bug.
PD#167234: usb: fix usb phy 1 reset bug. Change-Id: Iac4c59a95f8a85553ac665e675a47f1a733cc1a8 Signed-off-by: Yue Wang <yue.wang@amlogic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user