diff options
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index a7850f51fdc5..9d4d81248f96 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -862,10 +862,11 @@ static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated) | |||
862 | /* If interrupts don't work and remote wakeup is enabled then | 862 | /* If interrupts don't work and remote wakeup is enabled then |
863 | * the suspended root hub needs to be polled. | 863 | * the suspended root hub needs to be polled. |
864 | */ | 864 | */ |
865 | if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) { | 865 | if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup) |
866 | set_bit(HCD_FLAG_POLL_RH, &hcd->flags); | 866 | set_bit(HCD_FLAG_POLL_RH, &hcd->flags); |
867 | usb_hcd_poll_rh_status(hcd); | 867 | |
868 | } | 868 | /* Does the root hub have a port wakeup pending? */ |
869 | usb_hcd_poll_rh_status(hcd); | ||
869 | return 0; | 870 | return 0; |
870 | } | 871 | } |
871 | #endif | 872 | #endif |