summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvf/board-pcl052.c
diff options
context:
space:
mode:
authorRussell Robinson Jr <rrobinson@phytec.com>2013-08-09 16:58:01 -0700
committerAnthony Felice <tony.felice@timesys.com>2013-09-17 14:22:18 -0400
commit734200d17cf5e8b20e50ecf24f682ff233a20554 (patch)
tree9f8cbad536c6786b0f2c700478b257e40456f9a1 /arch/arm/mach-mvf/board-pcl052.c
parent31c2750be324136ea634cdb5eded0b673119f6dd (diff)
pcl052: revert usb0 to device mode
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
Diffstat (limited to 'arch/arm/mach-mvf/board-pcl052.c')
-rw-r--r--arch/arm/mach-mvf/board-pcl052.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mvf/board-pcl052.c b/arch/arm/mach-mvf/board-pcl052.c
index 08a59470d434..eab9492b8ace 100644
--- a/arch/arm/mach-mvf/board-pcl052.c
+++ b/arch/arm/mach-mvf/board-pcl052.c
@@ -334,9 +334,11 @@ static void __init pcl052_init_usb(void)
gpio_set_value(USB_VBUS_ENABLE_PIN, 1);
#ifdef CONFIG_USB_EHCI_ARC
- mvf_usb_dr_init();
mvf_usb_dr2_init();
#endif
+#ifdef CONFIG_USB_GADGET_ARC
+ mvf_usb_dr_init();
+#endif
}
/*!