From bd0a73367107c58f0d93235e1c51498066121996 Mon Sep 17 00:00:00 2001 From: DKAY_CHEN Date: Wed, 25 Feb 2009 00:41:25 +0000 Subject: [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 --- arch/arm/mach-s3c6410/om-gta03-features.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'arch/arm') 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; -- cgit v1.2.3