summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-05 11:46:26 +0900
committerSamuel Ortiz <sameo@linux.intel.com>2012-12-09 15:33:38 +0100
commitb7dea5dc5baf6021f1d007db774569ad04741af9 (patch)
treee85b7ef840a5d35541c82726f60fec096098393a /drivers
parentc2ace4fdd0efce3e2fbd930300524191dd7180ae (diff)
downloadlwn-b7dea5dc5baf6021f1d007db774569ad04741af9.tar.gz
lwn-b7dea5dc5baf6021f1d007db774569ad04741af9.zip
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')
-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)
arizona->virq = irq_domain_add_linear(NULL, 2, &arizona_domain_ops,
arizona);
if (!arizona->virq) {
+ dev_err(arizona->dev, "Failed to add core IRQ domain\n");
ret = -EINVAL;
goto err;
}