Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21d1f908 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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



This reverts commit d709f7bc.

Undo, because it might break exisiting functionality.

Requested-by: default avatarRafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 4fae4e76
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
	}