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

Commit a61d8258 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Fix misplaced status update in irq_disable()



We lazy disable interrupt lines, so only mark the line masked, when
the chip provides an irq_disable callback.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent a439520f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,9 +199,9 @@ void irq_disable(struct irq_desc *desc)
	irq_state_set_disabled(desc);
	if (desc->irq_data.chip->irq_disable) {
		desc->irq_data.chip->irq_disable(&desc->irq_data);
	}
		irq_state_set_masked(desc);
	}
}

#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED
/* Temporary migration helpers */