[PATCH 05/11] gpio: tegra: configure pins during irq_set_type

Olof Johansson olof at lixom.net
Wed Apr 4 13:58:55 EDT 2012


On Fri, Mar 30, 2012 at 04:59:58PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> When a Tegra GPIO is used as an IRQ, it should be enabled as a GPIO (so
> the pinmux module isn't driving it as an output) and configured as a GPIO
> input (so the GPIO module isn't driving it as an output). Set this up
> automatically whenever an IRQ is requested, so that users of IRQs don't
> need to do this.
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Acked-by: Olof Johansson <olof at lixom.net>




More information about the linux-arm-kernel mailing list