ACPI: thinkpad-acpi: add mutex-based locking to input device event send path
commitcabb961e85d16cc1130fba715fb9d46398da6c68
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 10 Sep 2007 22:03:42 +0000 (10 19:03 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 28 Sep 2007 01:25:26 +0000 (27 22:25 -0300)
tree62de78b915accfaf039d2bbe36f751afb19f75fa
parent8c1871c74922e6c7e5c89e06af2a1e611aec2e2b
ACPI: thinkpad-acpi: add mutex-based locking to input device event send path

Protect the input device event sending path with a mutex, since hot key
input events are not atomic and require an cohesive event block to be sent
together.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/misc/thinkpad_acpi.c