diff options
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
-rw-r--r-- | drivers/usb/host/ohci-hub.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index bb9cc595219e..48e4b11f4d3e 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/drivers/usb/host/ohci-hub.c | |||
@@ -55,8 +55,6 @@ static void dl_done_list (struct ohci_hcd *); | |||
55 | static void finish_unlinks (struct ohci_hcd *, u16); | 55 | static void finish_unlinks (struct ohci_hcd *, u16); |
56 | 56 | ||
57 | #ifdef CONFIG_PM | 57 | #ifdef CONFIG_PM |
58 | static int ohci_restart(struct ohci_hcd *ohci); | ||
59 | |||
60 | static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) | 58 | static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop) |
61 | __releases(ohci->lock) | 59 | __releases(ohci->lock) |
62 | __acquires(ohci->lock) | 60 | __acquires(ohci->lock) |
@@ -191,6 +189,9 @@ __acquires(ohci->lock) | |||
191 | spin_unlock_irq (&ohci->lock); | 189 | spin_unlock_irq (&ohci->lock); |
192 | (void) ohci_init (ohci); | 190 | (void) ohci_init (ohci); |
193 | status = ohci_restart (ohci); | 191 | status = ohci_restart (ohci); |
192 | |||
193 | usb_root_hub_lost_power(hcd->self.root_hub); | ||
194 | |||
194 | spin_lock_irq (&ohci->lock); | 195 | spin_lock_irq (&ohci->lock); |
195 | } | 196 | } |
196 | return status; | 197 | return status; |