mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
e3e5fc91d9
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> |
||
---|---|---|
.. | ||
Kconfig | ||
led-class.c | ||
led-core.c | ||
led-triggers.c | ||
leds-ams-delta.c | ||
leds-corgi.c | ||
leds-ixp4xx-gpio.c | ||
leds-locomo.c | ||
leds-net48xx.c | ||
leds-s3c24xx.c | ||
leds-spitz.c | ||
leds-tosa.c | ||
leds.h | ||
ledtrig-heartbeat.c | ||
ledtrig-ide-disk.c | ||
ledtrig-timer.c | ||
Makefile |