author | Geoff Levand
<geoffrey.levand@am.sony.com> 2008-08-22 21:13:00 UTC |
committer | Greg Kroah-Hartman
<gregkh@suse.de> 2008-09-23 20:58:06 UTC |
parent | f8834f1febb8f56cdcfeb35485e0cc7a8d547818 |
drivers/usb/core/hcd.c | +2 | -1 |
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 8abd4e59bf4..8ab389dca2b 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -1876,7 +1876,8 @@ int usb_add_hcd(struct usb_hcd *hcd, * with IRQF_SHARED. As usb_hcd_irq() will always disable * interrupts we can remove it here. */ - irqflags &= ~IRQF_DISABLED; + if (irqflags & IRQF_SHARED) + irqflags &= ~IRQF_DISABLED; snprintf(hcd->irq_descr, sizeof(hcd->irq_descr), "%s:usb%d", hcd->driver->description, hcd->self.busnum);