From: Paul Collins Date: Sun, 1 Oct 2006 06:27:41 +0000 (-0700) Subject: [PATCH] leds: turn LED off when changing triggers X-Git-Tag: v2.6.19-rc1~600 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e5fc91d9828a9b94a3992de47d47d2d2e34ec6;p=pandora-kernel.git [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 Acked-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed