From: Stephen Warren Date: Wed, 16 Oct 2013 19:25:33 +0000 (-0600) Subject: gpio: tegra: use new gpio_lock_as_irq() API X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~12^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df231f280f0051e8de05a1f31c13b2ce2a761c3f;p=pandora-kernel.git 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 Reviewed-by: Javier Martinez Canillas Signed-off-by: Linus Walleij --- Reading git-diff-tree failed