commit | df231f280f0051e8de05a1f31c13b2ce2a761c3f | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Oct 16 13:25:33 2013 -0600 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Oct 17 10:51:53 2013 +0200 |
tree | 55e3a4549b2a3a99ee7725faabe2d6b0cd581e4e | |
parent | bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb [diff] |
gpio: tegra: use new gpio_lock_as_irq() API 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>