diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-03-19 17:31:58 +0100 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-04-18 18:26:38 +0200 |
commit | d941136fc6ead10a7ff319bad199869b593962c5 (patch) | |
tree | abb5aa312d0329170c599f60869126e01d9308a4 /kernel/padata.c | |
parent | ARM: tegra: Remove VBUS_GPIO handling from board files (diff) | |
download | linux-d941136fc6ead10a7ff319bad199869b593962c5.tar.xz linux-d941136fc6ead10a7ff319bad199869b593962c5.zip |
gpio: tegra: configure pins during irq_set_type
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@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions