diff options
| author | Paul Collins <[email protected]> | 2006-09-30 23:27:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-01 00:39:21 -0700 |
| commit | e3e5fc91d9828a9b94a3992de47d47d2d2e34ec6 (patch) | |
| tree | ad4af3aeb264438772e85e9c901b15459ade0cbb /include/linux/debugobjects.h | |
| parent | fd7bcea35e7efb108c34ee2b3840942a3749cadb (diff) | |
[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 <[email protected]>
Acked-by: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions