|
@@ -135,6 +135,11 @@ static int ohci_pci_suspend (struct usb_hcd *hcd, pm_message_t message)
|
|
|
}
|
|
|
ohci_writel(ohci, OHCI_INTR_MIE, &ohci->regs->intrdisable);
|
|
|
(void)ohci_readl(ohci, &ohci->regs->intrdisable);
|
|
|
+
|
|
|
+ /* make sure snapshot being resumed re-enumerates everything */
|
|
|
+ if (message.event == PM_EVENT_PRETHAW)
|
|
|
+ ohci_usb_reset(ohci);
|
|
|
+
|
|
|
clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
|
|
|
bail:
|
|
|
spin_unlock_irqrestore (&ohci->lock, flags);
|