mfd: arizona: Log if we fail to create the primary IRQ domain
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Dec 2012 02:46:26 +0000 (11:46 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 9 Dec 2012 14:33:38 +0000 (15:33 +0100)
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>
drivers/mfd/arizona-irq.c

index ef0f2d0..7db56ab 100644 (file)
@@ -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;
        }