|
@@ -294,11 +294,11 @@ int irq_activate(struct irq_desc *desc)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-void irq_activate_and_startup(struct irq_desc *desc, bool resend)
|
|
|
+int irq_activate_and_startup(struct irq_desc *desc, bool resend)
|
|
|
{
|
|
|
if (WARN_ON(irq_activate(desc)))
|
|
|
- return;
|
|
|
- irq_startup(desc, resend, IRQ_START_FORCE);
|
|
|
+ return 0;
|
|
|
+ return irq_startup(desc, resend, IRQ_START_FORCE);
|
|
|
}
|
|
|
|
|
|
static void __irq_disable(struct irq_desc *desc, bool mask);
|