[ARM] 3447/1: [S3C2410] SMDK - default LEDs to off
authorBen Dooks <ben-linux@fluff.org>
Sun, 2 Apr 2006 09:00:08 +0000 (10:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Apr 2006 09:00:08 +0000 (10:00 +0100)
Patch from Ben Dooks

Set default state of LEDs to off

Fixes context of Patch #3442/1

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/common-smdk.c

index b054f8ff53f7ae495cd7411765fe3fe1bce455ca..f903dc2ab29bccc4b1ed49fe1811c3bae6753d62 100644 (file)
@@ -42,10 +42,10 @@ void __init smdk_machine_init(void)
        s3c2410_gpio_cfgpin(S3C2410_GPF6, S3C2410_GPF6_OUTP);
        s3c2410_gpio_cfgpin(S3C2410_GPF7, S3C2410_GPF7_OUTP);
 
-       s3c2410_gpio_setpin(S3C2410_GPF4, 0);
-       s3c2410_gpio_setpin(S3C2410_GPF5, 0);
-       s3c2410_gpio_setpin(S3C2410_GPF6, 0);
-       s3c2410_gpio_setpin(S3C2410_GPF7, 0);
+       s3c2410_gpio_setpin(S3C2410_GPF4, 1);
+       s3c2410_gpio_setpin(S3C2410_GPF5, 1);
+       s3c2410_gpio_setpin(S3C2410_GPF6, 1);
+       s3c2410_gpio_setpin(S3C2410_GPF7, 1);
 
        s3c2410_pm_init();
 }