ACPI: thinkpad-acpi: add mutex-based locking to input device event send path
commit8523ed6fb2ca04973fe759fda8ab4af72492fc7e
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 23 Sep 2007 14:39:01 +0000 (23 11:39 -0300)
committerLen Brown <len.brown@intel.com>
Mon, 24 Sep 2007 02:38:14 +0000 (23 22:38 -0400)
tree4f5e3926533d1e24e59ab6cdc9d28a9d9eba5e6b
parentf4e1e43c607b5ead89b2135c348392810420de69
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c