diff options
author | Viktar Vauchkevich <victorenator@gmail.com> | 2013-05-23 00:17:11 -0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-07-10 15:42:46 -0400 |
commit | 3aabf444f70f5855d8a0a06285fdd55e76a740d5 (patch) | |
tree | 74aeb2ec38a2e51c0c9f454c18ebb5dec8920924 | |
parent | 0ed60654a24c730dcb555da8439e5639253b6eca (diff) |
asus-nb-wmi: ignore ALS notification key code
Ignore Ambient Light Sensor notification key code 0xC6 found in ASUS UX31a.
When the illuminance changes dmesg shows:
[10814.939979] asus_wmi: Unknown key c6 pressed
Signed-off-by: Viktar Vauchkevich <victorenator@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index 8fcb41e18b9c..7340566c5865 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c | |||
@@ -256,6 +256,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = { | |||
256 | { KE_KEY, 0xB5, { KEY_CALC } }, | 256 | { KE_KEY, 0xB5, { KEY_CALC } }, |
257 | { KE_KEY, 0xC4, { KEY_KBDILLUMUP } }, | 257 | { KE_KEY, 0xC4, { KEY_KBDILLUMUP } }, |
258 | { KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } }, | 258 | { KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } }, |
259 | { KE_IGNORE, 0xC6, }, /* Ambient Light Sensor notification */ | ||
259 | { KE_END, 0}, | 260 | { KE_END, 0}, |
260 | }; | 261 | }; |
261 | 262 | ||