summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/020-genirq_fix.patch
blob: ebb369ff54fd8ab3ae4e20468dedafe7414cddff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -678,6 +678,9 @@
 
 	kstat_incr_irqs_this_cpu(irq, desc);
 
+	if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
+		return;
+
 	if (desc->irq_data.chip->irq_ack)
 		desc->irq_data.chip->irq_ack(&desc->irq_data);