asus-nb-wmi: ignore ALS notification key code
authorViktar Vauchkevich <victorenator@gmail.com>
Thu, 23 May 2013 04:17:11 +0000 (07:17 +0300)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 10 Jul 2013 19:42:46 +0000 (15:42 -0400)
commit3aabf444f70f5855d8a0a06285fdd55e76a740d5
tree74aeb2ec38a2e51c0c9f454c18ebb5dec8920924
parent0ed60654a24c730dcb555da8439e5639253b6eca
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>
drivers/platform/x86/asus-nb-wmi.c