diff options
-rw-r--r-- | drivers/usb/host/ohci-pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index d0360f65ebd9..b0e2275755c8 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
@@ -312,11 +312,13 @@ static int ohci_pci_suspend (struct usb_hcd *hcd, pm_message_t message) | |||
312 | 312 | ||
313 | static int ohci_pci_resume (struct usb_hcd *hcd) | 313 | static int ohci_pci_resume (struct usb_hcd *hcd) |
314 | { | 314 | { |
315 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | ||
316 | |||
315 | set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); | 317 | set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); |
316 | 318 | ||
317 | /* FIXME: we should try to detect loss of VBUS power here */ | 319 | /* FIXME: we should try to detect loss of VBUS power here */ |
318 | prepare_for_handover(hcd); | 320 | prepare_for_handover(hcd); |
319 | 321 | ohci_writel(ohci, OHCI_INTR_MIE, &ohci->regs->intrenable); | |
320 | return 0; | 322 | return 0; |
321 | } | 323 | } |
322 | 324 | ||