Skip to content

Commit

Permalink
Revert "PM / sleep / irq: Do not suspend wakeup interrupts"
Browse files Browse the repository at this point in the history
This reverts commit d709f7b.

Undo, because it might break exisiting functionality.

Requested-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Jul 31, 2014
1 parent 4fae4e7 commit 21d1f90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ setup_affinity(unsigned int irq, struct irq_desc *desc, struct cpumask *mask)
void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspend)
{
if (suspend) {
if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND) ||
irqd_has_set(&desc->irq_data, IRQD_WAKEUP_STATE))
if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND))
return;
desc->istate |= IRQS_SUSPENDED;
}
Expand Down

0 comments on commit 21d1f90

Please sign in to comment.