gpio/omap: fix _set_gpio_irqenable implementation
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Fri, 25 Nov 2011 09:57:37 +0000 (15:27 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 20 Mar 2012 09:59:09 +0000 (15:29 +0530)
commit8276536cec38bc6bde30d0aa67716f22b9b9705a
treed403517a6f691daa13cb6245930b3219b893094a
parent00ece7e4826e631565eae089d3c813120c6535ef
gpio/omap: fix _set_gpio_irqenable implementation

This function should be capable of both enabling and disabling interrupts
based upon the *enable* parameter. Right now the function only enables
the interrupt and *enable* is not used at all. So add the interrupt
disable capability also using the parameter.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c