From: Henrique de Moraes Holschuh Date: Sat, 12 Sep 2009 18:22:14 +0000 (-0300) Subject: thinkpad-acpi: hotkey poll fixes X-Git-Tag: v2.6.32-rc1~171^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db25f16d1dcce8de12f2f5daf884cda02196b28c;p=pandora-kernel.git thinkpad-acpi: hotkey poll fixes Fix some locking, avoid exiting the kthread before kthread_stop() is called on it, and clean up the hotkey poll routines a little bit. Also, restore bits in the firmware mask after hotkey_source_mask is changed. Without this, we leave events disabled... Signed-off-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- Reading git-diff-tree failed