]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: plat-versatile: LEDs initialise to off state
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 26 Nov 2013 19:44:18 +0000 (19:44 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 26 Feb 2014 13:52:12 +0000 (14:52 +0100)
There really is no excuse to turn on all 8 LEDs at boot time, such
that on the Versatile PB/926 we end up with 6 LEDs on continuously
and forever.  We're not a christmas decoration!

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-versatile/leds.c

index d2490d00b46cd4e2e6c17a685eda16942ee930d6..2018f307f32eb4338c49324a173da8883faca996 100644 (file)
@@ -72,8 +72,8 @@ static int __init versatile_leds_init(void)
 {
        int i;
 
-       /* All ON */
-       writel(0xff, LEDREG);
+       /* All off */
+       writel(0, LEDREG);
        for (i = 0; i < ARRAY_SIZE(versatile_leds); i++) {
                struct versatile_led *led;