diff options
author | warmcat <andy@openmoko.com> | 2008-11-19 17:09:32 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:32 +0000 |
commit | b9885886bbaba2f7aeb544d39b68ba238fa0780a (patch) | |
tree | c90fd316b76bafbd7231cf8c3df1790e4b182977 /arch | |
parent | 2a567bce521b2e295f57b3cca32a5c3202394d3e (diff) |
bugfix-deglitch-gpio-output-enable.patch
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 3816ea5f9b0..e32294bf49c 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -1258,9 +1258,9 @@ static void __init gta02_machine_init(void) s3c2410_gpio_setpin(GTA02_CHIP_PWD, 0); break; default: - s3c2410_gpio_cfgpin(GTA02_GPIO_nWLAN_RESET, S3C2410_GPIO_OUTPUT); /* Chip is in reset state */ s3c2410_gpio_setpin(GTA02_GPIO_nWLAN_RESET, 0); + s3c2410_gpio_cfgpin(GTA02_GPIO_nWLAN_RESET, S3C2410_GPIO_OUTPUT); mdelay(100); /* Power is up */ s3c2410_gpio_setpin(GTA02_CHIP_PWD, 0); @@ -1300,8 +1300,14 @@ static void __init gta02_machine_init(void) s3c2410_pm_init(); /* Set LCD_RESET / XRES to high */ - s3c2410_gpio_cfgpin(GTA01_GPIO_LCD_RESET, S3C2410_GPIO_OUTPUT); s3c2410_gpio_setpin(GTA01_GPIO_LCD_RESET, 1); + s3c2410_gpio_cfgpin(GTA01_GPIO_LCD_RESET, S3C2410_GPIO_OUTPUT); + + s3c2410_gpio_setpin(S3C2410_GPD12, 1); + s3c2410_gpio_cfgpin(S3C2410_GPD12, S3C2410_GPIO_OUTPUT); + + s3c2410_gpio_setpin(S3C2410_GPD13, 1); + s3c2410_gpio_cfgpin(S3C2410_GPD13, S3C2410_GPIO_OUTPUT); /* Make sure the modem can wake us up */ set_irq_type(GTA02_IRQ_MODEM, IRQT_RISING); |