]> err.no Git - linux-2.6/commit
ACPI: thinkpad-acpi: protect fan and hotkey data structures
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 24 Apr 2007 14:48:15 +0000 (11:48 -0300)
committerLen Brown <len.brown@intel.com>
Wed, 25 Apr 2007 06:00:27 +0000 (02:00 -0400)
commit40ca9fdf8aa7d929e2b8939be1e6380d107381e1
tree285d9e5a577b87064ecb06ee7aea46e206d1a3ac
parent7252374a39d794879f5e47bcfa0a16e7599b27b5
ACPI: thinkpad-acpi: protect fan and hotkey data structures

Add proper mutex locking to some data structures access subject to races
due to concurrent access of driver functions on the hotkey and fan
subdrivers.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h