[RFC PATCH] gpio/omap: Fix IRQ handling for SPARSE_IRQ

Tony Lindgren tony at atomide.com
Thu Feb 23 18:08:21 EST 2012


* Cousson, Benoit <b-cousson at ti.com> [120223 14:14]:
> The GPIO driver is still relying on internal OMAP IRQ defines that
> are not relevant anymore if OMAP is built with SPARSE_IRQ.

Great :)
 
> Please note that this patch is still RFC, because I do not know
> how to fix properly the ugly cpu_class_is_omap1 and the dependency
> with IH_MPUIO_BASE to detect a MPUIO.

Sounds like gpio_to_irq() needs to be set in the
arch/arm/*omap*/gpio*.c then.

Tony



More information about the linux-arm-kernel mailing list