aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/leds-osk.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-04-02 15:48:10 -0400
committerTony Lindgren <tony@atomide.com>2007-08-22 03:42:51 -0400
commiteebdf7d7c478682756fd29d376223f350311f105 (patch)
tree2781d1bf7db9a45c350dc43394f791153db3adff /arch/arm/mach-omap1/leds-osk.c
parent4e63915cbe4525beb9c0281f8e22945d88acc9bc (diff)
ARM: OMAP: OSK led fixes
Bugfixes for the OSK led support: - Fix Kconfig merge glitches: Mistral handles idle and timer leds just fine - Fix pm_suspend() runtime botch: can't sleep, so can't touch tps65010 leds Improvements: - Switch sense of Mistral idle led, so idle == off Probably the TPS65010 leds should be handled only by the "new led" API. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
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 0cbf1b0071f8..86de303ecab2 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)
133 mistral_setled(); 133 mistral_setled();
134 break; 134 break;
135 135
136 case led_idle_start: 136 case led_idle_start: /* idle == off */
137 hw_led_state |= IDLE_LED; 137 hw_led_state &= ~IDLE_LED;
138 mistral_setled(); 138 mistral_setled();
139 break; 139 break;
140 140
141 case led_idle_end: 141 case led_idle_end:
142 hw_led_state &= ~IDLE_LED; 142 hw_led_state |= IDLE_LED;
143 mistral_setled(); 143 mistral_setled();
144 break; 144 break;
145 145