projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2fe7e
)
ACPI: thinkpad-acpi: issue EV_SYNC after EV_SWITCH
author
Henrique de Moraes Holschuh
<hmh@hmh.eng.br>
Sun, 23 Sep 2007 14:39:00 +0000
(11:39 -0300)
committer
Len Brown
<len.brown@intel.com>
Mon, 24 Sep 2007 02:38:14 +0000
(22:38 -0400)
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>
drivers/misc/thinkpad_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/thinkpad_acpi.c
b/drivers/misc/thinkpad_acpi.c
index 0222bbaf7b76f371c9816125da06c101cac89cd5..8aa0f9694b87cc0b32c5570db8226c12ac14ac09 100644
(file)
--- a/
drivers/misc/thinkpad_acpi.c
+++ b/
drivers/misc/thinkpad_acpi.c
@@
-1149,9
+1149,11
@@
static void tpacpi_input_send_radiosw(void)
{
int wlsw;
- if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw))
+ if (tp_features.hotkey_wlsw && !hotkey_get_wlsw(&wlsw))
{
input_report_switch(tpacpi_inputdev,
SW_RADIO, !!wlsw);
+ input_sync(tpacpi_inputdev);
+ }
}
static void hotkey_notify(struct ibm_struct *ibm, u32 event)