2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00

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>
This commit is contained in:
Russell King 2013-11-26 19:44:18 +00:00 committed by Linus Walleij
parent cfbf8d4857
commit d1cb3ecf32

View 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;