Skip to content

Commit 3d0e30c

Browse files
ffainelligregkh
authored andcommitted
irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
[ Upstream commit 13a157b ] When support for the interrupt controller was added with a5042de, we forgot to update the flags to be set to contain IRQ_LEVEL. While the flow handler is correct, the output from /proc/interrupts does not show such interrupts as being level triggered when they are, correct that. Fixes: a5042de ("irqchip: bcm7120-l2: Add Broadcom BCM7120-style Level 2 interrupt controller") Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sasha Levin <[email protected]>
1 parent bf12b49 commit 3d0e30c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: drivers/irqchip/irq-bcm7120-l2.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ static int __init bcm7120_l2_intc_probe(struct device_node *dn,
279279
flags |= IRQ_GC_BE_IO;
280280

281281
ret = irq_alloc_domain_generic_chips(data->domain, IRQS_PER_WORD, 1,
282-
dn->full_name, handle_level_irq, clr, 0, flags);
282+
dn->full_name, handle_level_irq, clr,
283+
IRQ_LEVEL, flags);
283284
if (ret) {
284285
pr_err("failed to allocate generic irq chip\n");
285286
goto out_free_domain;

0 commit comments

Comments
 (0)