diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-06-09 20:05:02 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-21 04:08:34 +0200 |
commit | 00ac20279174cf0a1f3d8e10654d2c5c4be5bdae (patch) | |
tree | b1a15d6c393f6edb21a2514a140764160902eb30 /drivers/irqchip/irq-brcmstb-l2.c | |
parent | irqchip: armada-370-xp: Mask all interrupts during initialization. (diff) | |
download | linux-00ac20279174cf0a1f3d8e10654d2c5c4be5bdae.tar.xz linux-00ac20279174cf0a1f3d8e10654d2c5c4be5bdae.zip |
irqchip: brcmstb-l2: Level-2 interrupts are edge sensitive
The driver was configuring the interrupt handler for the Level-2
interrupts to be "level" triggered while they are in fact "edge"
triggered. Fix this by using the correct handler.
Reported-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lkml.kernel.org/r/1402337102-19428-1-git-send-email-f.fainelli@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-brcmstb-l2.c')
-rw-r--r-- | drivers/irqchip/irq-brcmstb-l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-brcmstb-l2.c b/drivers/irqchip/irq-brcmstb-l2.c index 8ee2a36d5840..c15c840987d2 100644 --- a/drivers/irqchip/irq-brcmstb-l2.c +++ b/drivers/irqchip/irq-brcmstb-l2.c @@ -150,7 +150,7 @@ int __init brcmstb_l2_intc_of_init(struct device_node *np, /* Allocate a single Generic IRQ chip for this node */ ret = irq_alloc_domain_generic_chips(data->domain, 32, 1, - np->full_name, handle_level_irq, clr, 0, 0); + np->full_name, handle_edge_irq, clr, 0, 0); if (ret) { pr_err("failed to allocate generic irq chip\n"); goto out_free_domain; |