summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-irq.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-05 03:46:26 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-12-09 15:33:38 +0100
commitb7dea5dc5baf6021f1d007db774569ad04741af9 (patch)
treee85b7ef840a5d35541c82726f60fec096098393a /drivers/mfd/arizona-irq.c
parentmfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ (diff)
downloadlinux-b7dea5dc5baf6021f1d007db774569ad04741af9.tar.xz
linux-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/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)
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;
}