diff options
author | Henrique de Moraes Holschuh | 2009-12-16 00:51:06 +0100 |
---|---|---|
committer | Len Brown | 2009-12-16 05:57:00 +0100 |
commit | d89a727aff649f6768f7a34ee57f031ebf8bab4c (patch) | |
tree | ebe7489016c4c64dfc6c33b143242824b4666bce /Documentation/laptops | |
parent | thinkpad-acpi: use input_set_capability (diff) | |
download | kernel-qcow2-linux-d89a727aff649f6768f7a34ee57f031ebf8bab4c.tar.gz kernel-qcow2-linux-d89a727aff649f6768f7a34ee57f031ebf8bab4c.tar.xz kernel-qcow2-linux-d89a727aff649f6768f7a34ee57f031ebf8bab4c.zip |
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>
Diffstat (limited to 'Documentation/laptops')
0 files changed, 0 insertions, 0 deletions