diff options
author | Corentin Chary <corentincj@iksaif.net> | 2011-02-06 07:28:38 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-03-28 06:05:18 -0400 |
commit | 54c799a50f58285f5f6a93d87470cba1847943a3 (patch) | |
tree | 51666de3fa7f94c3e4a271e79378ee609d4af0f6 | |
parent | 2e9e159d8e18c37d60a7d5040314f579a40f4c63 (diff) |
eeepc-wmi: set the right key code for 0xe9
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>
-rw-r--r-- | drivers/platform/x86/eeepc-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 0db700939433..75dd692d31ee 100644 --- 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[] = { | |||
103 | { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, | 103 | { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, |
104 | { KE_KEY, 0xe0, { KEY_PROG1 } }, | 104 | { KE_KEY, 0xe0, { KEY_PROG1 } }, |
105 | { KE_KEY, 0xe1, { KEY_F14 } }, | 105 | { KE_KEY, 0xe1, { KEY_F14 } }, |
106 | { KE_KEY, 0xe9, { KEY_DISPLAY_OFF } }, | 106 | { KE_KEY, 0xe9, { KEY_BRIGHTNESS_ZERO } }, |
107 | { KE_END, 0}, | 107 | { KE_END, 0}, |
108 | }; | 108 | }; |
109 | 109 | ||