arm: tegra: cardhu: Control modem w_disable with a gpio.
Raj Jayaraman [Fri, 25 Feb 2011 03:27:28 +0000 (19:27 -0800)]
Bug 795922

Original-Change-Id: I533dc92e7061bf4be39337c952cd42b428811d71
Reviewed-on: http://git-master/r/20848
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I586e6131bfcaed611a45c6ee3aba134ae7f84613

Rebase-Id: Re343188fa742fb0197d98ada03e692f508a9dd4b

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

index 4d8aa0d..efdd5e2 100644 (file)
@@ -353,6 +353,11 @@ static void cardhu_gps_init(void)
        tegra_gpio_enable(TEGRA_GPIO_PU3);
 }
 
+static void cardhu_modem_init(void)
+{
+       tegra_gpio_enable(TEGRA_GPIO_PH5);
+}
+
 #ifdef CONFIG_SATA_AHCI_TEGRA
 static void cardhu_sata_init(void)
 {
@@ -376,6 +381,7 @@ static void __init tegra_cardhu_init(void)
        cardhu_touch_init();
        cardhu_usb_init();
        cardhu_gps_init();
+       cardhu_modem_init();
 
 #ifdef CONFIG_KEYBOARD_TEGRA
        cardhu_kbc_init();