Re: [PATCH v2] irqdomain: Initialize number of IRQs for simpledomains

From: Shawn Guo
Date: Tue Jan 10 2012 - 10:30:39 EST


On Tue, Jan 10, 2012 at 11:24:11AM +0100, Thierry Reding wrote:
> The irq_domain_add() function needs the number of interrupts in the
> domain to properly initialize them. In addition the allocated domain
> is now returned by the irq_domain_{add,generate}_simple() helpers.
>
> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> Acked-by: David Brown <davidb@xxxxxxxxxxxxxx>
> ---
> Note: This patch should not be applied yet. There is a conflict with a
> pending patch[0] by Benoit Cousson that will obsolete the OMAP2
> hunk in this patch.
>
> [0]: http://www.spinics.net/lists/linux-omap/msg62124.html
>
> Changes in v2:
> - Don't use ERR_PTR, keep the WARN_ON(1) and return NULL as requested
> by Grant Likely.
> - Integrate i.MX cleanup patch by Shawn Guo.
>
...
> arch/arm/mach-imx/imx51-dt.c | 13 +++++++++++--
> arch/arm/mach-imx/imx53-dt.c | 13 +++++++++++--
> arch/arm/mach-imx/mach-imx6q.c | 6 +++++-
...
> arch/arm/plat-mxc/include/mach/irqs.h | 13 +++++++------
> arch/arm/plat-mxc/tzic.c | 2 --

Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>

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