summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-lpc32xx.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2013-10-16 02:47:30 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 10:06:00 +0200
commit2f56e0a57ff1bbf973bec86e527f222de8c4b4f9 (patch)
tree763ed6b762c629fd15cca4a9d592e68d2e6aef93 /drivers/gpio/gpio-lpc32xx.c
parentMerge tag 'v3.12-rc4' into devel (diff)
downloadlinux-2f56e0a57ff1bbf973bec86e527f222de8c4b4f9.tar.xz
linux-2f56e0a57ff1bbf973bec86e527f222de8c4b4f9.zip
gpio/omap: use gpiolib API to mark a GPIO used as an IRQ
The OMAP GPIO driver keeps track about GPIO pins that are used as IRQ lines for two reasons: 1) To prevent GPIO banks to be disabled while one of their GPIO pins are only used as an interrupt line. 2) To not allow another caller to set the GPIO pin as output. Now gpiolib has an API to mark GPIO pins as used as IRQ lines so the GPIO core only allows to set as output GPIO pins not tied to an IRQ. So there is no need to have custom code for 2). The IRQ usage still has to be maintained locally for 1) though. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions