diff options
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index ec21f4a4a056..bb55eb4a7d48 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c | |||
@@ -152,14 +152,14 @@ static int omap_ehci_init(struct usb_hcd *hcd) | |||
152 | struct ehci_hcd_omap_platform_data *pdata; | 152 | struct ehci_hcd_omap_platform_data *pdata; |
153 | 153 | ||
154 | pdata = hcd->self.controller->platform_data; | 154 | pdata = hcd->self.controller->platform_data; |
155 | |||
156 | /* Hold PHYs in reset while initializing EHCI controller */ | ||
155 | if (pdata->phy_reset) { | 157 | if (pdata->phy_reset) { |
156 | if (gpio_is_valid(pdata->reset_gpio_port[0])) | 158 | if (gpio_is_valid(pdata->reset_gpio_port[0])) |
157 | gpio_request_one(pdata->reset_gpio_port[0], | 159 | gpio_set_value_cansleep(pdata->reset_gpio_port[0], 0); |
158 | GPIOF_OUT_INIT_LOW, "USB1 PHY reset"); | ||
159 | 160 | ||
160 | if (gpio_is_valid(pdata->reset_gpio_port[1])) | 161 | if (gpio_is_valid(pdata->reset_gpio_port[1])) |
161 | gpio_request_one(pdata->reset_gpio_port[1], | 162 | gpio_set_value_cansleep(pdata->reset_gpio_port[1], 0); |
162 | GPIOF_OUT_INIT_LOW, "USB2 PHY reset"); | ||
163 | 163 | ||
164 | /* Hold the PHY in RESET for enough time till DIR is high */ | 164 | /* Hold the PHY in RESET for enough time till DIR is high */ |
165 | udelay(10); | 165 | udelay(10); |