summaryrefslogtreecommitdiff
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2009-04-14 02:44:11 (GMT)
committerLen Brown <len.brown@intel.com>2009-04-18 05:19:53 (GMT)
commit75bd3bf2ade9d548be0d2bde60b5ee0fdce0b127 (patch)
tree0133d0631c052d4f3a9b9f3feee4dd905442b431 /block/blk-ioc.c
parent406e988bef742aa74cdc1f5fafc812ecebf7c02b (diff)
downloadlinux-75bd3bf2ade9d548be0d2bde60b5ee0fdce0b127.tar.xz
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 <hmh@hmh.eng.br> Cc: stable@kernel.org Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions