[PATCH 03/03] irqchip: renesas-irqc: Enable nested lock

From: Magnus Damm
Date: Thu Sep 17 2015 - 03:13:05 EST


From: Magnus Damm <damm+renesas@xxxxxxxxxxxxx>

Update the IRQC driver to pass the IRQ_GC_INIT_NESTED_LOCK flag
to enable nested locking using the generic irq chip implementation.

Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx>
---

drivers/irqchip/irq-renesas-irqc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 0005/drivers/irqchip/irq-renesas-irqc.c
+++ work/drivers/irqchip/irq-renesas-irqc.c 2015-07-20 18:08:35.792366518 +0900
@@ -212,7 +212,7 @@ static int irqc_probe(struct platform_de

ret = irq_alloc_domain_generic_chips(p->irq_domain, p->number_of_irqs,
1, name, handle_level_irq,
- 0, 0, 0);
+ 0, 0, IRQ_GC_INIT_NESTED_LOCK);
if (ret) {
dev_err(&pdev->dev, "cannot allocate generic chip\n");
goto err3;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/