aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 6a25c351409..f89f77f1b33 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -865,7 +865,7 @@ static irqreturn_t ehci_irq (struct usb_hcd *hcd)
865 pcd_status = status; 865 pcd_status = status;
866 866
867 /* resume root hub? */ 867 /* resume root hub? */
868 if (!(cmd & CMD_RUN)) 868 if (hcd->state == HC_STATE_SUSPENDED)
869 usb_hcd_resume_root_hub(hcd); 869 usb_hcd_resume_root_hub(hcd);
870 870
871 /* get per-port change detect bits */ 871 /* get per-port change detect bits */