aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <[email protected]>2009-12-15 21:51:06 -0200
committerLen Brown <[email protected]>2009-12-15 23:57:00 -0500
commitd89a727aff649f6768f7a34ee57f031ebf8bab4c (patch)
treeebe7489016c4c64dfc6c33b143242824b4666bce /lib
parent792979c8032b8f5adb77ea986db7082fff04c8e7 (diff)
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 <[email protected]> Signed-off-by: Henrique de Moraes Holschuh <[email protected]> Cc: Alan Jenkins <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Dmitry Torokhov <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions