[PATCH 1/2] gpio/omap: convert gpio irq domain to linear mapping

Santosh Shilimkar santosh.shilimkar at ti.com
Sat Mar 2 00:24:08 EST 2013

On Friday 01 March 2013 10:52 PM, Jon Hunter wrote:
> Currently the OMAP GPIO driver uses a legacy mapping for the GPIO IRQ
> domain. This is not necessary because we do not need to assign a
> specific interrupt number to the GPIO IRQ domain. Therefore, convert
> the OMAP GPIO driver to use a linear mapping instead.
> Please note that this also allows to simplify the logic in the OMAP
> gpio_irq_handler() routine, by using irq_find_mapping() to obtain the
> virtual irq number from the GPIO bank and bank index.
> Reported-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Jon Hunter <jon-hunter at ti.com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>

More information about the linux-arm-kernel mailing list