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:
8d2fa78
)
rk3026: V86 not need OTG_DRV_VBUS mux GPIO3_C1 to GPIO
author
lyz
<lyz@rock-chips.com>
Mon, 12 Aug 2013 02:52:08 +0000
(10:52 +0800)
committer
lyz
<lyz@rock-chips.com>
Mon, 12 Aug 2013 02:52:08 +0000
(10:52 +0800)
drivers/usb/dwc_otg/usbdev_rk3026.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/usbdev_rk3026.c
b/drivers/usb/dwc_otg/usbdev_rk3026.c
index f68efb9fda9a52cffbaf8b7a84bf0b9fe93052c8..7ae6784645751baefcd6115d74b4f19876901709 100755
(executable)
--- a/
drivers/usb/dwc_otg/usbdev_rk3026.c
+++ b/
drivers/usb/dwc_otg/usbdev_rk3026.c
@@
-114,7
+114,11
@@
void usb20otg_hw_init(void)
#ifdef CONFIG_RK_CONFIG
otg_drv_init(0);
#else
- iomux_set(GPIO3_C1|0x01);
+#ifdef CONFIG_ARCH_RK3026_86V
+
+#else
+ iomux_set(OTG_DRV_VBUS);
+#endif
#endif
}
void usb20otg_phy_suspend(void* pdata, int suspend)