aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2013-10-16 13:25:33 -0600
committerLinus Walleij <[email protected]>2013-10-17 10:51:53 +0200
commitdf231f280f0051e8de05a1f31c13b2ce2a761c3f (patch)
tree55e3a4549b2a3a99ee7725faabe2d6b0cd581e4e /lib/cpu-notifier-error-inject.c
parentbd0bf46844ad79c1360eebc73bf6f1e4c31b39fb (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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions