diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-03-19 10:31:58 -0600 |
---|---|---|
committer | Lokesh Pathak <lpathak@nvidia.com> | 2012-07-30 08:43:56 -0700 |
commit | 20e63194505625691dd93fc613cd4268430f6bc3 (patch) | |
tree | f7c86e120c3ccd6858a0d75a5c1e27a57dee0079 /init | |
parent | 9bde470e06fc9b2899c70a905a9ad0b3d7b1b218 (diff) |
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>
Change-Id: I5159fe099e483145977ecdba63a2bc4302105932
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/118658
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions