summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-versatile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-11-26 19:44:18 +0000
committerLinus Walleij <linus.walleij@linaro.org>2014-02-26 14:52:12 +0100
commitd1cb3ecf327066137fb6245b13030cde60241dd6 (patch)
treef32542da5d431a58963c768c21ef71a5c45b1e0a /arch/arm/plat-versatile
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (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>
Diffstat (limited to 'arch/arm/plat-versatile')
-rw-r--r--arch/arm/plat-versatile/leds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-versatile/leds.c b/arch/arm/plat-versatile/leds.c
index d2490d00b46..2018f307f32 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;