ACPI: thinkpad-acpi: add mutex-based locking to input device event send path
commit8e870221c2fb5247272f6c484f9b3718ced48413
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>
Sun, 23 Sep 2007 12:31:09 +0000 (23 09:31 -0300)
treec1abe3b25c703221fc34e56d25667251ed6c2928
parente01cee3288c1979f49aa515a3aa72bbaa50d2e94
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