We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9c466 commit 7f1f78bCopy full SHA for 7f1f78b
drivers/irqchip/irq-mscc-ocelot.c
@@ -84,6 +84,12 @@ static void ocelot_irq_unmask(struct irq_data *data)
84
u32 val;
85
86
irq_gc_lock(gc);
87
+ /*
88
+ * Clear sticky bits for edge mode interrupts.
89
+ * Serval has only one trigger register replication, but the adjacent
90
+ * register is always read as zero, so there's no need to handle this
91
+ * case separately.
92
+ */
93
val = irq_reg_readl(gc, ICPU_CFG_INTR_INTR_TRIGGER(p, 0)) |
94
irq_reg_readl(gc, ICPU_CFG_INTR_INTR_TRIGGER(p, 1));
95
if (!(val & mask))
0 commit comments