1 From f4e1e43c607b5ead89b2135c348392810420de69 Mon Sep 17 00:00:00 2001
2 From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
3 Date: Sun, 23 Sep 2007 11:39:00 -0300
4 Subject: [PATCH 05/23] ACPI: thinkpad-acpi: issue EV_SYNC after EV_SWITCH
6 We were missing a input_sync on the radio switch event report path. Add it.
8 Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
9 Signed-off-by: Len Brown <len.brown@intel.com>
11 drivers/misc/thinkpad_acpi.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
14 diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
15 index 0222bba..8aa0f96 100644
16 --- a/drivers/misc/thinkpad_acpi.c
17 +++ b/drivers/misc/thinkpad_acpi.c
18 @@ -1149,9 +1149,11 @@ static void tpacpi_input_send_radiosw(void)
22 - if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw))
23 + if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) {
24 input_report_switch(tpacpi_inputdev,
26 + input_sync(tpacpi_inputdev);
30 static void hotkey_notify(struct ibm_struct *ibm, u32 event)