aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 29f52a44b928..dd871023265c 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -624,7 +624,7 @@ static irqreturn_t ehci_irq (struct usb_hcd *hcd, struct pt_regs *regs)
624 } 624 }
625 625
626 /* remote wakeup [4.3.1] */ 626 /* remote wakeup [4.3.1] */
627 if ((status & STS_PCD) && hcd->remote_wakeup) { 627 if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) {
628 unsigned i = HCS_N_PORTS (ehci->hcs_params); 628 unsigned i = HCS_N_PORTS (ehci->hcs_params);
629 629
630 /* resume root hub? */ 630 /* resume root hub? */