Loading kernel/irq/pm.c +3 −6 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) static void suspend_device_irq(struct irq_desc *desc, int irq) { if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND)) if (!desc->action || desc->no_suspend_depth) return; desc->istate |= IRQS_SUSPENDED; Loading Loading @@ -94,11 +94,8 @@ static void resume_irq(struct irq_desc *desc, int irq) if (desc->istate & IRQS_SUSPENDED) goto resume; if (!desc->action) return; /* Interrupts marked with that flag are force reenabled */ if (!(desc->action->flags & IRQF_FORCE_RESUME)) /* Force resume the interrupt? */ if (!desc->force_resume_depth) return; /* Pretend that it got disabled ! */ Loading Loading
kernel/irq/pm.c +3 −6 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) static void suspend_device_irq(struct irq_desc *desc, int irq) { if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND)) if (!desc->action || desc->no_suspend_depth) return; desc->istate |= IRQS_SUSPENDED; Loading Loading @@ -94,11 +94,8 @@ static void resume_irq(struct irq_desc *desc, int irq) if (desc->istate & IRQS_SUSPENDED) goto resume; if (!desc->action) return; /* Interrupts marked with that flag are force reenabled */ if (!(desc->action->flags & IRQF_FORCE_RESUME)) /* Force resume the interrupt? */ if (!desc->force_resume_depth) return; /* Pretend that it got disabled ! */ Loading