initialize the url field for packages
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1085-bugfix-deglitch-gpio-output-enable.patch.patch
1 From e05285e4b6a3fa1134d40e91c5a345392e7efba0 Mon Sep 17 00:00:00 2001
2 From: warmcat <andy@openmoko.com>
3 Date: Sun, 13 Apr 2008 07:25:47 +0100
4 Subject: [PATCH] bugfix-deglitch-gpio-output-enable.patch
5
6 ---
7 arch/arm/mach-s3c2440/mach-gta02.c | 10 ++++++++--
8 1 files changed, 8 insertions(+), 2 deletions(-)
9
10 diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
11 index 3816ea5..e32294b 100644
12 --- a/arch/arm/mach-s3c2440/mach-gta02.c
13 +++ b/arch/arm/mach-s3c2440/mach-gta02.c
14 @@ -1258,9 +1258,9 @@ static void __init gta02_machine_init(void)
15 s3c2410_gpio_setpin(GTA02_CHIP_PWD, 0);
16 break;
17 default:
18 - s3c2410_gpio_cfgpin(GTA02_GPIO_nWLAN_RESET, S3C2410_GPIO_OUTPUT);
19 /* Chip is in reset state */
20 s3c2410_gpio_setpin(GTA02_GPIO_nWLAN_RESET, 0);
21 + s3c2410_gpio_cfgpin(GTA02_GPIO_nWLAN_RESET, S3C2410_GPIO_OUTPUT);
22 mdelay(100);
23 /* Power is up */
24 s3c2410_gpio_setpin(GTA02_CHIP_PWD, 0);
25 @@ -1300,8 +1300,14 @@ static void __init gta02_machine_init(void)
26 s3c2410_pm_init();
27
28 /* Set LCD_RESET / XRES to high */
29 - s3c2410_gpio_cfgpin(GTA01_GPIO_LCD_RESET, S3C2410_GPIO_OUTPUT);
30 s3c2410_gpio_setpin(GTA01_GPIO_LCD_RESET, 1);
31 + s3c2410_gpio_cfgpin(GTA01_GPIO_LCD_RESET, S3C2410_GPIO_OUTPUT);
32 +
33 + s3c2410_gpio_setpin(S3C2410_GPD12, 1);
34 + s3c2410_gpio_cfgpin(S3C2410_GPD12, S3C2410_GPIO_OUTPUT);
35 +
36 + s3c2410_gpio_setpin(S3C2410_GPD13, 1);
37 + s3c2410_gpio_cfgpin(S3C2410_GPD13, S3C2410_GPIO_OUTPUT);
38
39 /* Make sure the modem can wake us up */
40 set_irq_type(GTA02_IRQ_MODEM, IRQT_RISING);
41 --
42 1.5.6.5
43
This page took 0.057116 seconds and 5 git commands to generate.