diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-09-23 10:39:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-09-23 22:38:14 -0400 |
commit | f4e1e43c607b5ead89b2135c348392810420de69 (patch) | |
tree | 877a97471029cb2fb1c0c0076ccc8abcbbb52e89 /drivers/misc/thinkpad_acpi.c | |
parent | 4b2fe7e2a79727104e549a89a32b4aae26521861 (diff) |
ACPI: thinkpad-acpi: issue EV_SYNC after EV_SWITCH
We were missing a input_sync on the radio switch event report path. Add it.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 0222bbaf7b76..8aa0f9694b87 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -1149,9 +1149,11 @@ static void tpacpi_input_send_radiosw(void) | |||
1149 | { | 1149 | { |
1150 | int wlsw; | 1150 | int wlsw; |
1151 | 1151 | ||
1152 | if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) | 1152 | if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw)) { |
1153 | input_report_switch(tpacpi_inputdev, | 1153 | input_report_switch(tpacpi_inputdev, |
1154 | SW_RADIO, !!wlsw); | 1154 | SW_RADIO, !!wlsw); |
1155 | input_sync(tpacpi_inputdev); | ||
1156 | } | ||
1155 | } | 1157 | } |
1156 | 1158 | ||
1157 | static void hotkey_notify(struct ibm_struct *ibm, u32 event) | 1159 | static void hotkey_notify(struct ibm_struct *ibm, u32 event) |