|
@@ -1876,7 +1876,8 @@ int usb_add_hcd(struct usb_hcd *hcd,
|
|
* with IRQF_SHARED. As usb_hcd_irq() will always disable
|
|
* with IRQF_SHARED. As usb_hcd_irq() will always disable
|
|
* interrupts we can remove it here.
|
|
* 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",
|
|
snprintf(hcd->irq_descr, sizeof(hcd->irq_descr), "%s:usb%d",
|
|
hcd->driver->description, hcd->self.busnum);
|
|
hcd->driver->description, hcd->self.busnum);
|