Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64573
b: refs/heads/master
c: eebdf7d
h: refs/heads/master
i:
  64571: 4784792
v: v3
  • Loading branch information
David Brownell authored and Tony Lindgren committed Aug 22, 2007
1 parent 2a53127 commit ad4063d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e63915cbe4525beb9c0281f8e22945d88acc9bc
refs/heads/master: eebdf7d7c478682756fd29d376223f350311f105
7 changes: 5 additions & 2 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,8 @@ config LEDS

config LEDS_TIMER
bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
MACH_OMAP_H2 || MACH_OMAP_PERSEUS2
OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
|| MACH_OMAP_PERSEUS2
depends on LEDS
depends on !GENERIC_CLOCKEVENTS
default y if ARCH_EBSA110
Expand All @@ -738,7 +739,9 @@ config LEDS_TIMER

config LEDS_CPU
bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
!ARCH_OMAP) || MACH_OMAP_H2 || MACH_OMAP_PERSEUS2
!ARCH_OMAP) \
|| OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
|| MACH_OMAP_PERSEUS2
depends on LEDS
help
If you say Y here, the red LED will be used to give a good real
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-omap1/leds-osk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
11 changes: 0 additions & 11 deletions trunk/arch/arm/mach-omap1/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#include <asm/arch/tc.h>
#include <asm/arch/pm.h>
#include <asm/arch/mux.h>
#include <asm/arch/tps65010.h>
#include <asm/arch/dma.h>
#include <asm/arch/dsp_common.h>
#include <asm/arch/dmtimer.h>
Expand Down Expand Up @@ -250,11 +249,6 @@ void omap_pm_suspend(void)

omap_serial_wake_trigger(1);

if (machine_is_omap_osk()) {
/* Stop LED1 (D9) blink */
tps65010_set_led(LED1, OFF);
}

if (!cpu_is_omap15xx())
omap_writew(0xffff, ULPD_SOFT_DISABLE_REQ_REG);

Expand Down Expand Up @@ -447,11 +441,6 @@ void omap_pm_suspend(void)
omap_serial_wake_trigger(0);

printk("PM: OMAP%x is re-starting from deep sleep...\n", system_rev);

if (machine_is_omap_osk()) {
/* Let LED1 (D9) blink again */
tps65010_set_led(LED1, BLINK);
}
}

#if defined(DEBUG) && defined(CONFIG_PROC_FS)
Expand Down

0 comments on commit ad4063d

Please sign in to comment.