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:
2e9e159
)
eeepc-wmi: set the right key code for 0xe9
author
Corentin Chary
<corentincj@iksaif.net>
Sun, 6 Feb 2011 12:28:38 +0000
(13:28 +0100)
committer
Matthew Garrett
<mjg@redhat.com>
Mon, 28 Mar 2011 10:05:18 +0000
(06:05 -0400)
This key should power off the backlight, not the display,
it is also used in acpi/video.c to do the same thing.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/eeepc-wmi.c
b/drivers/platform/x86/eeepc-wmi.c
index 0db700939433c445ca2579a913e9d20bd12d7d28..75dd692d31ee27725e9e93a40c87c5913d13595c 100644
(file)
--- a/
drivers/platform/x86/eeepc-wmi.c
+++ b/
drivers/platform/x86/eeepc-wmi.c
@@
-103,7
+103,7
@@
static const struct key_entry eeepc_wmi_keymap[] = {
{ KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } },
{ KE_KEY, 0xe0, { KEY_PROG1 } },
{ KE_KEY, 0xe1, { KEY_F14 } },
- { KE_KEY, 0xe9, { KEY_
DISPLAY_OFF
} },
+ { KE_KEY, 0xe9, { KEY_
BRIGHTNESS_ZERO
} },
{ KE_END, 0},
};