ARM: tegra: gpio: Add range check for gpio enable/disable
authorChaitanya Bandi <bandik@nvidia.com>
Thu, 3 Nov 2011 10:43:18 +0000 (15:43 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:58:00 +0000 (00:58 -0700)
commit71f4b98576ada10733dd2a3a79ff5ad1950c5b39
tree7a97a27f5e7b1642baf21ed3f847db8acf532423
parent941bb6d3634c906ff790e6437f1c7a4e111c5243
ARM: tegra: gpio: Add range check for gpio enable/disable

Added the range check into tegra_gpio_enable and tegra_gpio_disable

Bug 897387

Reviewed-on: http://git-master/r/62641
(cherry picked from commit 091b3906b2dd64cd58221e7e61a24a57dabad16c)

Change-Id: I9be8129397a1dccbea4a04f6b6ed7d4529bf45c3
Reviewed-on: http://git-master/r/63174
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfaf0efdbc60208a56e4e4f073e3661ad1511694c
drivers/gpio/gpio-tegra.c