tegra: p1852: correcting the GPIO to use for therm_alert
Vishal Singh [Tue, 27 Mar 2012 12:20:02 +0000 (17:20 +0530)]
Currently the GPIO that we are trying to use for therm_alert is
GPIO_PW2 which is incorrect. The GPIO we ought to use is GPIO_PW3.

Bug 920368.

(cherry picked from commit ad4714c486c6a734681287ea4d85869f05704397)
Change-Id: If1a8cf4b8cdbdd69f2d01f4c292775d413384bc0
Reviewed-on: http://git-master/r/#change,74273
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/91730
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

arch/arm/mach-tegra/board-p1852-pinmux.c

index 611d3eb..047170f 100644 (file)
@@ -368,7 +368,7 @@ static struct gpio p1852_sku8_gpios[] = {
        {TEGRA_GPIO_PD2,        GPIOF_OUT_INIT_HIGH,    "d2"},
        {TEGRA_GPIO_PD1,        GPIOF_OUT_INIT_HIGH,    "d1"},
        {TEGRA_GPIO_PD0,        GPIOF_OUT_INIT_HIGH,    "d0"},
-       {TEGRA_GPIO_PW2,        GPIOF_IN,               "therm_alert"},
+       {TEGRA_GPIO_PW3,        GPIOF_IN,               "therm_alert"},
        {TEGRA_GPIO_PK5,        GPIOF_OUT_INIT_HIGH,    "user1"},
        {TEGRA_GPIO_PX5,        GPIOF_OUT_INIT_HIGH,    "user2"},
        {TEGRA_GPIO_PX6,        GPIOF_OUT_INIT_HIGH,    "user3"},