ACPI: thinkpad-acpi: synchronize input device switches
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 16 Feb 2008 04:17:53 +0000 (02:17 -0200)
committerLen Brown <len.brown@intel.com>
Sat, 16 Feb 2008 05:33:57 +0000 (00:33 -0500)
commit7526696a013f33d4926fdc080c26fe6af07ba30f
treedecf42e68c8ba1126a6c0752cd5fbbdb52fd28d0
parent1bc6b9cdd5e608f0b7e6160a823c9dcd51820410
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c