Commit 54c799a50f58285f5f6a93d87470cba1847943a3

Authored by Corentin Chary
Committed by Matthew Garrett
1 parent 2e9e159d8e

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/platform/x86/eeepc-wmi.c
... ... @@ -103,7 +103,7 @@
103 103 { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } },
104 104 { KE_KEY, 0xe0, { KEY_PROG1 } },
105 105 { KE_KEY, 0xe1, { KEY_F14 } },
106   - { KE_KEY, 0xe9, { KEY_DISPLAY_OFF } },
  106 + { KE_KEY, 0xe9, { KEY_BRIGHTNESS_ZERO } },
107 107 { KE_END, 0},
108 108 };
109 109