summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-ls1x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/irqchip/irq-ls1x.c')
-rw-r--r--drivers/irqchip/irq-ls1x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-ls1x.c b/drivers/irqchip/irq-ls1x.c
index 86b72fbd3b45..353111a10413 100644
--- a/drivers/irqchip/irq-ls1x.c
+++ b/drivers/irqchip/irq-ls1x.c
@@ -130,6 +130,7 @@ static int __init ls1x_intc_of_init(struct device_node *node,
NULL);
if (!priv->domain) {
pr_err("ls1x-irq: cannot add IRQ domain\n");
+ err = -ENOMEM;
goto out_iounmap;
}