ACPI: thinkpad-acpi: synchronize input device switches
commit2d80369c91211ac3b299f5223a6161858ed05ff0
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 10 Feb 2008 13:51:18 +0000 (10 11:51 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 13 Feb 2008 18:57:20 +0000 (13 16:57 -0200)
tree44e75f586cdb4cc05391afd8690ae759516b96b7
parent83d3542743ff8e78fb367f25f4c8c92109f5927a
ACPI: thinkpad-acpi: synchronize input device switches

Issue EV_SW events at module init time to synchronize the input device with
the current state of the switch, otherwise we might lose the first event.

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