ACPI: thinkpad-acpi: synchronize input device switches
commit12f81c9926c5e7d799bd48384caa86fdc0be45ca
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 13:29:15 +0000 (13 11:29 -0200)
tree70fcd9e57bfdfe1beb1c99ad487f8b2809e79930
parent6ad2ea269f650856ebe643b1337ea361b69e0bdb
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