diff options
author | Todd Poynor <toddpoynor@google.com> | 2012-05-08 11:36:40 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2012-05-08 11:36:40 -0700 |
commit | 52f91d889a2c2a0f9e0b5e97fa7be8b584834016 (patch) | |
tree | e9c820e826581e430c53f523651fc9e2465a4b37 /drivers/usb/host/ehci-hcd.c | |
parent | 434b9914eec503fc0eaaa52908765bca6430d22b (diff) | |
parent | bea37381fd9a34c6660e5195d31beea86aa3dda3 (diff) | |
download | kernel_samsung_crespo-52f91d889a2c2a0f9e0b5e97fa7be8b584834016.zip kernel_samsung_crespo-52f91d889a2c2a0f9e0b5e97fa7be8b584834016.tar.gz kernel_samsung_crespo-52f91d889a2c2a0f9e0b5e97fa7be8b584834016.tar.bz2 |
Merge commit 'v3.0.31' into android-3.0
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 6a25c35..f89f77f 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) pcd_status = status; /* resume root hub? */ - if (!(cmd & CMD_RUN)) + if (hcd->state == HC_STATE_SUSPENDED) usb_hcd_resume_root_hub(hcd); /* get per-port change detect bits */ |