diff options
Diffstat (limited to 'drivers/usb/host/ohci-spear.c')
-rw-r--r-- | drivers/usb/host/ohci-spear.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index e418c192e23a..4cb98abc0bef 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c | |||
@@ -103,8 +103,10 @@ static int spear_ohci_hcd_drv_probe(struct platform_device *pdev) | |||
103 | ohci = hcd_to_ohci(hcd); | 103 | ohci = hcd_to_ohci(hcd); |
104 | 104 | ||
105 | retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0); | 105 | retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0); |
106 | if (retval == 0) | 106 | if (retval == 0) { |
107 | device_wakeup_enable(hcd->self.controller); | ||
107 | return retval; | 108 | return retval; |
109 | } | ||
108 | 110 | ||
109 | clk_disable_unprepare(sohci_p->clk); | 111 | clk_disable_unprepare(sohci_p->clk); |
110 | err_put_hcd: | 112 | err_put_hcd: |