diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-10-16 13:25:33 -0600 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-17 10:51:53 +0200 |
commit | df231f280f0051e8de05a1f31c13b2ce2a761c3f (patch) | |
tree | 55e3a4549b2a3a99ee7725faabe2d6b0cd581e4e /drivers/gpio/gpio-bcm-kona.c | |
parent | bd0bf46844ad79c1360eebc73bf6f1e4c31b39fb (diff) | |
download | lwn-df231f280f0051e8de05a1f31c13b2ce2a761c3f.tar.gz lwn-df231f280f0051e8de05a1f31c13b2ce2a761c3f.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions