aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-irq.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-04 21:46:26 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-12-09 09:33:38 -0500
commitb7dea5dc5baf6021f1d007db774569ad04741af9 (patch)
treee85b7ef840a5d35541c82726f60fec096098393a /drivers/mfd/arizona-irq.c
parentc2ace4fdd0efce3e2fbd930300524191dd7180ae (diff)
mfd: arizona: Log if we fail to create the primary IRQ domain
This is the only thing in probe for which we don't log an error. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
-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 }