summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-sifive-plic.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-11-08 14:10:38 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-11-08 14:10:38 +0100
commit6b240aeb121ec14a528a58413baa9a74f8749604 (patch)
tree4148d2f8aa56b75488fbd568048ac81fa786ae9a /drivers/irqchip/irq-sifive-plic.c
parentRevert "gpio: merrifield: Pass irqchip when adding gpiochip" (diff)
parentRevert "gpio: expose pull-up/pull-down line flags to userspace" (diff)
downloadlinux-6b240aeb121ec14a528a58413baa9a74f8749604.tar.xz
linux-6b240aeb121ec14a528a58413baa9a74f8749604.zip
Merge branch 'devel' into for-next
Diffstat (limited to 'drivers/irqchip/irq-sifive-plic.c')
-rw-r--r--drivers/irqchip/irq-sifive-plic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-plic.c
index daefc52b0ec5..7d0a12fe2714 100644
--- a/drivers/irqchip/irq-sifive-plic.c
+++ b/drivers/irqchip/irq-sifive-plic.c
@@ -252,8 +252,8 @@ static int __init plic_init(struct device_node *node,
continue;
}
- /* skip context holes */
- if (parent.args[0] == -1)
+ /* skip contexts other than supervisor external interrupt */
+ if (parent.args[0] != IRQ_S_EXT)
continue;
hartid = plic_find_hart_id(parent.np);