From: Henrique de Moraes Holschuh Date: Tue, 14 Apr 2009 02:44:11 +0000 (+0000) Subject: thinkpad-acpi: fix LED blinking through timer trigger X-Git-Tag: v2.6.30-rc4~50^2~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75bd3bf2ade9d548be0d2bde60b5ee0fdce0b127;p=pandora-kernel.git thinkpad-acpi: fix LED blinking through timer trigger The set_blink hook code in the LED subdriver would never manage to get a LED to blink, and instead it would just turn it on. The consequence of this is that the "timer" trigger would not cause the LED to blink if given default parameters. This problem exists since 2.6.26-rc1. To fix it, switch the deferred LED work handling to use the thinkpad-acpi-specific LED status (off/on/blink) directly. This also makes the code easier to read, and to extend later. Signed-off-by: Henrique de Moraes Holschuh Cc: stable@kernel.org Signed-off-by: Len Brown --- Reading git-diff-tree failed