1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 12:18:26 +02:00
openwrt-xburst/target/linux/lantiq/patches/020-genirq_fix.patch

13 lines
276 B
Diff
Raw Normal View History

--- 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);