]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:53:04 +0000 (09:53 -0700)
commitc43d4b949b856e428d4c1f3c7d4533e40d3bbe67
tree91cb562998528913f1d945d8d23eb5a80015caf5
parent712f04ff3aea5f7cc284df68f93b1eacb5cb0fa2
gpio/omap: fix _set_gpio_irqenable implementation

commit 8276536cec38bc6bde30d0aa67716f22b9b9705a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-omap.c