diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-11-26 14:44:18 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-26 08:52:12 -0500 |
commit | d1cb3ecf327066137fb6245b13030cde60241dd6 (patch) | |
tree | f32542da5d431a58963c768c21ef71a5c45b1e0a | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
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 <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | arch/arm/plat-versatile/leds.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
72 | { | 72 | { |
73 | int i; | 73 | int i; |
74 | 74 | ||
75 | /* All ON */ | 75 | /* All off */ |
76 | writel(0xff, LEDREG); | 76 | writel(0, LEDREG); |
77 | for (i = 0; i < ARRAY_SIZE(versatile_leds); i++) { | 77 | for (i = 0; i < ARRAY_SIZE(versatile_leds); i++) { |
78 | struct versatile_led *led; | 78 | struct versatile_led *led; |
79 | 79 | ||