From: 黄涛 Date: Wed, 16 Jan 2013 06:45:55 +0000 (+0800) Subject: rk3066b: usbdev_rk30: delete iomux setup because of gpio_request auto setup iomux X-Git-Tag: firefly_0821_release~7926 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2121e238bfc70a943b7b3611fde922096ee3c96d;p=firefly-linux-kernel-4.4.55.git rk3066b: usbdev_rk30: delete iomux setup because of gpio_request auto setup iomux --- diff --git a/drivers/usb/dwc_otg/usbdev_rk30.c b/drivers/usb/dwc_otg/usbdev_rk30.c index 9ac10d7e0e61..5cb03b98d2e7 100755 --- a/drivers/usb/dwc_otg/usbdev_rk30.c +++ b/drivers/usb/dwc_otg/usbdev_rk30.c @@ -116,8 +116,6 @@ void usb20otg_hw_init(void) // other haredware init #ifdef CONFIG_ARCH_RK3066B //GPIO init - rk30_mux_api_set(GPIO0D6_SPI1CLK_NAME, GPIO0D_GPIO0D6); - gpio_request(RK3066B_OTG_DRV_VBUS, NULL); gpio_direction_output(RK3066B_OTG_DRV_VBUS, GPIO_LOW); #else @@ -287,7 +285,6 @@ void usb20host_hw_init(void) // other haredware init #ifdef CONFIG_ARCH_RK3066B - rk30_mux_api_set(GPIO0D7_SPI1CSN0_NAME, GPIO0D_GPIO0D7); gpio_request(RK3066B_HOST_DRV_VBUS, NULL); gpio_direction_output(RK3066B_HOST_DRV_VBUS, GPIO_HIGH); #else