diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-31 14:57:10 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-07-31 14:57:10 -0400 |
commit | 21d1f908d39559b013ea857c1685253476b95a4a (patch) | |
tree | fbe4194915246428ff831706279508edcae7daeb /kernel/irq | |
parent | 4fae4e7624653ef498d0e2a38f00620b9701ab04 (diff) |
Revert "PM / sleep / irq: Do not suspend wakeup interrupts"
This reverts commit d709f7bcbb3ab01704fa7b37a2e4b981cf3783c1.
Undo, because it might break exisiting functionality.
Requested-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/manage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 27a1fe028afb..53e944811ca6 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -385,8 +385,7 @@ setup_affinity(unsigned int irq, struct irq_desc *desc, struct cpumask *mask) | |||
385 | void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspend) | 385 | void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspend) |
386 | { | 386 | { |
387 | if (suspend) { | 387 | if (suspend) { |
388 | if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND) || | 388 | if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND)) |
389 | irqd_has_set(&desc->irq_data, IRQD_WAKEUP_STATE)) | ||
390 | return; | 389 | return; |
391 | desc->istate |= IRQS_SUSPENDED; | 390 | desc->istate |= IRQS_SUSPENDED; |
392 | } | 391 | } |