ACPI: thinkpad-acpi: add mutex-based locking to input device event send path
commit794665c6a4988790925eab271cb54e6e7f74ca43
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>
Tue, 26 Feb 2008 02:34:01 +0000 (25 23:34 -0300)
tree04e43a2c02a97e029d57b1fcbd3df49828ab1cf6
parent7d8e60f48445841e9e9c0afc8e1da2e219e996bb
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