diff options
-rw-r--r-- | arch/arm/mach-omap2/usb-host.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index 78ac1c211ece..10855eb4ccc1 100644 --- a/arch/arm/mach-omap2/usb-host.c +++ b/arch/arm/mach-omap2/usb-host.c | |||
@@ -460,8 +460,7 @@ int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) | |||
460 | memset(&nop_pdata, 0, sizeof(nop_pdata)); | 460 | memset(&nop_pdata, 0, sizeof(nop_pdata)); |
461 | if (gpio_is_valid(phy->vcc_gpio)) | 461 | if (gpio_is_valid(phy->vcc_gpio)) |
462 | nop_pdata.needs_vcc = true; | 462 | nop_pdata.needs_vcc = true; |
463 | if (gpio_is_valid(phy->reset_gpio)) | 463 | nop_pdata.gpio_reset = phy->reset_gpio; |
464 | nop_pdata.needs_reset = true; | ||
465 | nop_pdata.type = USB_PHY_TYPE_USB2; | 464 | nop_pdata.type = USB_PHY_TYPE_USB2; |
466 | 465 | ||
467 | /* create a NOP PHY device */ | 466 | /* create a NOP PHY device */ |
@@ -483,14 +482,6 @@ int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) | |||
483 | 482 | ||
484 | usb_bind_phy("ehci-omap.0", phy->port - 1, phy_id); | 483 | usb_bind_phy("ehci-omap.0", phy->port - 1, phy_id); |
485 | 484 | ||
486 | /* Do we need RESET regulator ? */ | ||
487 | if (gpio_is_valid(phy->reset_gpio)) { | ||
488 | scnprintf(rail_name, MAX_STR, | ||
489 | "hsusb%d_reset", phy->port); | ||
490 | usbhs_add_regulator(rail_name, phy_id, "reset", | ||
491 | phy->reset_gpio, 1); | ||
492 | } | ||
493 | |||
494 | /* Do we need VCC regulator ? */ | 485 | /* Do we need VCC regulator ? */ |
495 | if (gpio_is_valid(phy->vcc_gpio)) { | 486 | if (gpio_is_valid(phy->vcc_gpio)) { |
496 | scnprintf(rail_name, MAX_STR, "hsusb%d_vcc", phy->port); | 487 | scnprintf(rail_name, MAX_STR, "hsusb%d_vcc", phy->port); |