aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/arizona-irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
index ef0f2d001df2..7db56ab47594 100644
--- a/drivers/mfd/arizona-irq.c
+++ b/drivers/mfd/arizona-irq.c
@@ -223,6 +223,7 @@ int arizona_irq_init(struct arizona *arizona)
223 arizona->virq = irq_domain_add_linear(NULL, 2, &arizona_domain_ops, 223 arizona->virq = irq_domain_add_linear(NULL, 2, &arizona_domain_ops,
224 arizona); 224 arizona);
225 if (!arizona->virq) { 225 if (!arizona->virq) {
226 dev_err(arizona->dev, "Failed to add core IRQ domain\n");
226 ret = -EINVAL; 227 ret = -EINVAL;
227 goto err; 228 goto err;
228 } 229 }