arm: tegra: cardhu: Reset Modem during init
BH Hsieh [Fri, 14 Oct 2011 05:00:36 +0000 (13:00 +0800)]
Set GPIO direction to high on main k39 branch.

bug 817238

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

Rebase-Id: R3a80bfd11cd3959fd2c760eda277f6db42ecb333

arch/arm/mach-tegra/board-cardhu.c

index 76e8cb6..8bd3353 100644 (file)
@@ -808,7 +808,7 @@ static void cardhu_modem_init(void)
                else
                        gpio_direction_input(w_disable_gpio);
 
-               /* E1291-A04 & E1198:A02: Set PERST signal to low */
+               /* E1291-A04 & E1198:A02: Set PERST signal to high */
                if (((board_info.board_id == BOARD_E1291) &&
                                (board_info.fab >= BOARD_FAB_A04)) ||
                        ((board_info.board_id == BOARD_E1198) &&
@@ -819,7 +819,7 @@ static void cardhu_modem_init(void)
                                        "TEGRA_GPIO_PH7\n", __func__);
                                break;
                        }
-                       gpio_direction_output(TEGRA_GPIO_PH7, 0);
+                       gpio_direction_output(TEGRA_GPIO_PH7, 1);
                        tegra_gpio_enable(TEGRA_GPIO_PH7);
                }
                break;