|
@@ -422,7 +422,8 @@ ohci_hub_status_data (struct usb_hcd *hcd, char *buf)
|
|
ohci->autostop = 0;
|
|
ohci->autostop = 0;
|
|
ohci->next_statechange = jiffies +
|
|
ohci->next_statechange = jiffies +
|
|
STATECHANGE_DELAY;
|
|
STATECHANGE_DELAY;
|
|
- } else if (time_after_eq (jiffies,
|
|
|
|
|
|
+ } else if (device_may_wakeup(&hcd->self.root_hub->dev)
|
|
|
|
+ && time_after_eq(jiffies,
|
|
ohci->next_statechange)
|
|
ohci->next_statechange)
|
|
&& !ohci->ed_rm_list
|
|
&& !ohci->ed_rm_list
|
|
&& !(ohci->hc_control &
|
|
&& !(ohci->hc_control &
|