提交 21d1f908 编写于 作者: T Thomas Gleixner

Revert "PM / sleep / irq: Do not suspend wakeup interrupts"

This reverts commit d709f7bc.

Undo, because it might break exisiting functionality.
Requested-by: NRafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 4fae4e76
...@@ -385,8 +385,7 @@ setup_affinity(unsigned int irq, struct irq_desc *desc, struct cpumask *mask) ...@@ -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) void __disable_irq(struct irq_desc *desc, unsigned int irq, bool suspend)
{ {
if (suspend) { if (suspend) {
if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND) || if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND))
irqd_has_set(&desc->irq_data, IRQD_WAKEUP_STATE))
return; return;
desc->istate |= IRQS_SUSPENDED; desc->istate |= IRQS_SUSPENDED;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册