From: Russell King Date: Tue, 26 Nov 2013 19:44:18 +0000 (+0000) Subject: ARM: plat-versatile: LEDs initialise to off state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d1cb3ecf327066137fb6245b13030cde60241dd6;p=linux-beck.git ARM: plat-versatile: LEDs initialise to off state 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 Signed-off-by: Linus Walleij --- diff --git a/arch/arm/plat-versatile/leds.c b/arch/arm/plat-versatile/leds.c index d2490d00b46c..2018f307f32e 100644 --- a/arch/arm/plat-versatile/leds.c +++ b/arch/arm/plat-versatile/leds.c @@ -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;