|
@@ -649,7 +649,11 @@ ehci_hub_status_data (struct usb_hcd *hcd, char *buf)
|
|
status = STS_PCD;
|
|
status = STS_PCD;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- /* FIXME autosuspend idle root hubs */
|
|
|
|
|
|
+
|
|
|
|
+ /* If a resume is in progress, make sure it can finish */
|
|
|
|
+ if (ehci->resuming_ports)
|
|
|
|
+ mod_timer(&hcd->rh_timer, jiffies + msecs_to_jiffies(25));
|
|
|
|
+
|
|
spin_unlock_irqrestore (&ehci->lock, flags);
|
|
spin_unlock_irqrestore (&ehci->lock, flags);
|
|
return status ? retval : 0;
|
|
return status ? retval : 0;
|
|
}
|
|
}
|