From: lyz Date: Mon, 12 Aug 2013 02:52:08 +0000 (+0800) Subject: rk3026: V86 not need OTG_DRV_VBUS mux GPIO3_C1 to GPIO X-Git-Tag: firefly_0821_release~6726^2~17 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d776db0a80b82d606b5b88f8e557ebe9b629d055;p=firefly-linux-kernel-4.4.55.git rk3026: V86 not need OTG_DRV_VBUS mux GPIO3_C1 to GPIO --- diff --git a/drivers/usb/dwc_otg/usbdev_rk3026.c b/drivers/usb/dwc_otg/usbdev_rk3026.c index f68efb9fda9a..7ae678464575 100755 --- 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)