android_kernel_xiaomi_sm8350/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
led-class.c
led-core.c
led-triggers.c [PATCH] leds: turn LED off when changing triggers 2006-10-01 00:39:21 -07:00
leds-ams-delta.c
leds-corgi.c
leds-ixp4xx-gpio.c
leds-locomo.c
leds-net48xx.c [PATCH] Make net48xx-led use scx200_gpio_ops 2006-09-29 09:18:06 -07:00
leds-s3c24xx.c
leds-spitz.c
leds-tosa.c
leds.h
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c
Makefile [PATCH] LED Class support for Soekris net48xx 2006-07-10 13:24:26 -07:00