aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c6410
diff options
context:
space:
mode:
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;