Re: [PATCH] mfd: arizona: Log if we fail to create the primary IRQ domain

2012-12-09 Thread Samuel Ortiz
Hi Mark,

On Wed, Dec 05, 2012 at 11:46:26AM +0900, Mark Brown wrote:
> This is the only thing in probe for which we don't log an error.
> 
> Signed-off-by: Mark Brown 
> ---
>  drivers/mfd/arizona-irq.c |1 +
>  1 file changed, 1 insertion(+)
Applied, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] mfd: arizona: Log if we fail to create the primary IRQ domain

2012-12-04 Thread Mark Brown
This is the only thing in probe for which we don't log an error.

Signed-off-by: Mark Brown 
---
 drivers/mfd/arizona-irq.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
index 113805d..2bec5f0 100644
--- a/drivers/mfd/arizona-irq.c
+++ b/drivers/mfd/arizona-irq.c
@@ -210,6 +210,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;
}
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/