]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ohci-pci.c
USB: OHCI: fix bug in controller resume
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ohci-pci.c
index d0360f65ebd99951243d8d7cbd1cfe1683419c8a..b0e2275755c82bcdd41f48afed4e4b381e5715f1 100644 (file)
@@ -312,11 +312,13 @@ static int ohci_pci_suspend (struct usb_hcd *hcd, pm_message_t message)
 
 static int ohci_pci_resume (struct usb_hcd *hcd)
 {
+       struct ohci_hcd *ohci = hcd_to_ohci(hcd);
+
        set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
 
        /* FIXME: we should try to detect loss of VBUS power here */
        prepare_for_handover(hcd);
-
+       ohci_writel(ohci, OHCI_INTR_MIE, &ohci->regs->intrenable);
        return 0;
 }