diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 0d5cbf254e5e..37f9f5e7425d 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -836,8 +836,7 @@ void usb_enable_root_hub_irq (struct usb_bus *bus) | |||
836 | struct usb_hcd *hcd; | 836 | struct usb_hcd *hcd; |
837 | 837 | ||
838 | hcd = container_of (bus, struct usb_hcd, self); | 838 | hcd = container_of (bus, struct usb_hcd, self); |
839 | if (hcd->driver->hub_irq_enable && !hcd->poll_rh && | 839 | if (hcd->driver->hub_irq_enable && hcd->state != HC_STATE_HALT) |
840 | hcd->state != HC_STATE_HALT) | ||
841 | hcd->driver->hub_irq_enable (hcd); | 840 | hcd->driver->hub_irq_enable (hcd); |
842 | } | 841 | } |
843 | 842 | ||