gpio: tegra: use new gpio_lock_as_irq() API
authorStephen Warren <swarren@nvidia.com>
Wed, 16 Oct 2013 19:25:33 +0000 (13:25 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Oct 2013 08:51:53 +0000 (10:51 +0200)
Whenever an IRQ is claimed or freed, call gpio_lock_as_irq() or
gpio_unlock_as_irq() on the associated GPIO, to prevent that GPIO from
being configured in a manner incompatible with an interrupt.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found