aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c6410
diff options
context:
space:
mode:
authorDKAY_CHEN <dkay_chen@openmoko.com>2009-02-25 00:41:25 +0000
committerAndy Green <agreen@octopus.localdomain>2009-02-25 00:41:25 +0000
commitbd0a73367107c58f0d93235e1c51498066121996 (patch)
treea05a2b7adf897daab782838dc73dd14591560735 /arch/arm/mach-s3c6410
parent1a2a8e066213a147657eb490a1b0da9d031ee688 (diff)
[GTA03] Fix the power on status of the GSM module again.
Because i found the level of the "MODEM_RST" will return to "L" when it set to "Input". GSM module sometimes can not turn on especially after emove the C9102. Signed-off-by: DKAY_CHEN <dkay_chen@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r--arch/arm/mach-s3c6410/om-gta03-features.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c6410/om-gta03-features.c b/arch/arm/mach-s3c6410/om-gta03-features.c
index 8d6083da9e9..71d734ac40d 100644
--- a/arch/arm/mach-s3c6410/om-gta03-features.c
+++ b/arch/arm/mach-s3c6410/om-gta03-features.c
@@ -104,14 +104,12 @@ static void om_gta03_features_pwron_set_on(enum feature feature)
s3c_gpio_setpull(GTA03_GPIO_MODEM_ON, S3C_GPIO_PULL_NONE);
s3c_gpio_cfgpin(GTA03_GPIO_N_MODEM_RESET, S3C_GPIO_SFN(1));
s3c_gpio_cfgpin(GTA03_GPIO_MODEM_ON, S3C_GPIO_SFN(1));
- gpio_direction_output(GTA03_GPIO_MODEM_ON, 1);
gpio_direction_output(GTA03_GPIO_N_MODEM_RESET, 0);
+ gpio_direction_output(GTA03_GPIO_MODEM_ON, 1);
+ msleep(10);
gpio_direction_output(GTA03_GPIO_MODEM_ON, 0);
msleep(150);
gpio_direction_output(GTA03_GPIO_N_MODEM_RESET, 1);
- msleep(10);
- /* Release GPIO1 */
- s3c_gpio_cfgpin(GTA03_GPIO_N_MODEM_RESET, S3C_GPIO_SFN(0));
msleep(300);
gpio_direction_output(GTA03_GPIO_MODEM_ON, 1);
break;