diff options
-rw-r--r-- | drivers/usb/host/ohci-hub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index 6f113596af66..da09e7930c1b 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/drivers/usb/host/ohci-hub.c | |||
@@ -422,7 +422,8 @@ ohci_hub_status_data (struct usb_hcd *hcd, char *buf) | |||
422 | ohci->autostop = 0; | 422 | ohci->autostop = 0; |
423 | ohci->next_statechange = jiffies + | 423 | ohci->next_statechange = jiffies + |
424 | STATECHANGE_DELAY; | 424 | STATECHANGE_DELAY; |
425 | } else if (time_after_eq (jiffies, | 425 | } else if (device_may_wakeup(&hcd->self.root_hub->dev) |
426 | && time_after_eq(jiffies, | ||
426 | ohci->next_statechange) | 427 | ohci->next_statechange) |
427 | && !ohci->ed_rm_list | 428 | && !ohci->ed_rm_list |
428 | && !(ohci->hc_control & | 429 | && !(ohci->hc_control & |