Henrique de Moraes Holschuh d89a727aff thinkpad-acpi: sync input device EV_SW initial state
Before we register the input device, sync the input layer EV_SW state
through a call to input_report_switch(), to avoid issuing a gratuitous
event for the initial state of these switches.

This fixes some annoyances caused by the interaction with rfkill and
EV_SW SW_RFKILL_ALL events.

Reported-by: Kevin Locke <kevin@kevinlocke.name>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-12-15 23:57:00 -05:00
..
2009-11-19 18:18:17 -05:00
2009-12-01 16:32:20 -08:00
2009-11-04 14:04:06 +01:00
2009-12-01 16:32:19 -08:00
2009-09-24 07:21:05 -07:00
2009-12-01 11:24:19 +01:00
2009-11-26 09:22:33 +01:00
2009-11-16 16:13:35 +00:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2009-11-30 16:39:42 -08:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00