projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc6b9c
)
ACPI: thinkpad-acpi: synchronize input device switches
author
Henrique de Moraes Holschuh
<hmh@hmh.eng.br>
Sat, 16 Feb 2008 04:17:53 +0000
(
02:17
-0200)
committer
Len Brown
<len.brown@intel.com>
Sat, 16 Feb 2008 05:33:57 +0000
(
00:33
-0500)
Issue EV_SW events at module init time to synchronize the input device with
the current state of the switch, otherwise we might lose the first event.
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 6da3f40ac9f62a247f9f2126eb9f663ccbd338b5..02f9465165847f9a90784928689cf4257e45497d 100644
(file)
--- a/
drivers/misc/thinkpad_acpi.c
+++ b/
drivers/misc/thinkpad_acpi.c
@@
-2034,6
+2034,7
@@
static int __init hotkey_init(struct ibm_init_struct *iibm)
tpacpi_inputdev->close = &hotkey_inputdev_close;
hotkey_poll_setup_safe(1);
+ tpacpi_input_send_radiosw();
}
return (tp_features.hotkey)? 0 : 1;