[PATCH 2/2] gpio/omap: warn if bank is not enabled on setting irq type

Grant Likely grant.likely at secretlab.ca
Sat Mar 2 14:40:07 EST 2013


On Fri, 1 Mar 2013 11:22:48 -0600, Jon Hunter <jon-hunter at ti.com> wrote:
> For OMAP devices, if a gpio is being used as an interrupt source but has
> not been requested by calling gpio_request(), a call to request_irq()
> may cause the kernel hang because the gpio bank may be disabled and
> hence the register access will fail. To prevent such hangs, test for
> this case and warn if this is detected.
> 
> Signed-off-by: Jon Hunter <jon-hunter at ti.com>

Applied, thanks.

g.




More information about the linux-arm-kernel mailing list