OpenCloudOS-Kernel/drivers/leds
Paul Collins e3e5fc91d9 [PATCH] leds: turn LED off when changing triggers
I was playing with LED triggers when I noticed that changing from heartbeat
(or ide-disk) to "none" at the right moment would leave the LED stuck on.
This is easy to reproduce by doing "find / >/dev/null" with the ide-disk
trigger enabled and then switching to "none".

Here is a patch that fixes the problem by explicitly turning the LED off
after removing the existing trigger.

Signed-off-by: Paul Collins <paul@ondioline.org>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:21 -07:00
..
Kconfig [PATCH] LED Class support for Soekris net48xx 2006-07-10 13:24:26 -07:00
Makefile [PATCH] LED Class support for Soekris net48xx 2006-07-10 13:24:26 -07:00
led-class.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
led-core.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
led-triggers.c [PATCH] leds: turn LED off when changing triggers 2006-10-01 00:39:21 -07:00
leds-ams-delta.c [PATCH] leds: Amstrad Delta LED support 2006-06-23 07:43:05 -07:00
leds-corgi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-ixp4xx-gpio.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-locomo.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-net48xx.c [PATCH] Make net48xx-led use scx200_gpio_ops 2006-09-29 09:18:06 -07:00
leds-s3c24xx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-spitz.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-tosa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds.h [PATCH] LED: add LED trigger tupport 2006-03-31 12:18:56 -08:00
ledtrig-heartbeat.c [PATCH] LED: add LED heartbeat trigger 2006-06-25 10:01:23 -07:00
ledtrig-ide-disk.c [PATCH] LED: Add IDE disk activity LED trigger 2006-03-31 12:18:57 -08:00
ledtrig-timer.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00