aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/leds-osk.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-08-25 12:38:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-08-25 12:38:47 +0100
commitd555dd5065ab6dd4437c609950c5d9c6377b4896 (patch)
treea2335e9d68a74cb833964ba9617d7279b98a6cdd /arch/arm/mach-omap1/leds-osk.c
parent9d84588bdb72b6ec9d891fbdaa4305023e16ee3a (diff)
parent671c7235ccd537f828986ef5a4071bf477541dc0 (diff)
Merge branch 'omap-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
Diffstat (limited to 'arch/arm/mach-omap1/leds-osk.c')
-rw-r--r--arch/arm/mach-omap1/leds-osk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/leds-osk.c b/arch/arm/mach-omap1/leds-osk.c
index 0cbf1b0071f..86de303ecab 100644
--- a/arch/arm/mach-omap1/leds-osk.c
+++ b/arch/arm/mach-omap1/leds-osk.c
@@ -133,13 +133,13 @@ void osk_leds_event(led_event_t evt)
mistral_setled();
break;
- case led_idle_start:
- hw_led_state |= IDLE_LED;
+ case led_idle_start: /* idle == off */
+ hw_led_state &= ~IDLE_LED;
mistral_setled();
break;
case led_idle_end:
- hw_led_state &= ~IDLE_LED;
+ hw_led_state |= IDLE_LED;
mistral_setled();
break;