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

Grant Likely grant.likely at secretlab.ca
Sat Mar 2 14:39:08 EST 2013


On Fri, 1 Mar 2013 11:22:47 -0600, Jon Hunter <jon-hunter at ti.com> 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>

Applied, thanks.

g.




More information about the linux-arm-kernel mailing list