thinkpad-acpi: hotkey poll fixes
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 12 Sep 2009 18:22:14 +0000 (15:22 -0300)
committerLen Brown <len.brown@intel.com>
Sat, 19 Sep 2009 04:53:04 +0000 (00:53 -0400)
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 <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found