aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/xhci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 48706c0d6577..c41358e4b8cc 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -771,7 +771,9 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
771 771
772 /* If restore operation fails, re-initialize the HC during resume */ 772 /* If restore operation fails, re-initialize the HC during resume */
773 if ((temp & STS_SRE) || hibernated) { 773 if ((temp & STS_SRE) || hibernated) {
774 usb_root_hub_lost_power(hcd->self.root_hub); 774 /* Let the USB core know _both_ roothubs lost power. */
775 usb_root_hub_lost_power(xhci->main_hcd->self.root_hub);
776 usb_root_hub_lost_power(xhci->shared_hcd->self.root_hub);
775 777
776 xhci_dbg(xhci, "Stop HCD\n"); 778 xhci_dbg(xhci, "Stop HCD\n");
777 xhci_halt(xhci); 779 xhci_halt(xhci);