]> git.karo-electronics.de Git - linux-beck.git/commitdiff
asus-nb-wmi: ignore useless keys
authorCorentin Chary <corentincj@iksaif.net>
Tue, 20 Mar 2012 08:53:02 +0000 (09:53 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:05:31 +0000 (15:05 -0400)
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-nb-wmi.c

index b0859d4183e8307d27ef9c3979bf613d4548c603..350112736023df3b107e00c81d88a6fafe3b821d 100644 (file)
@@ -70,6 +70,8 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
        { KE_KEY, 0x50, { KEY_EMAIL } },
        { KE_KEY, 0x51, { KEY_WWW } },
        { KE_KEY, 0x55, { KEY_CALC } },
+       { KE_IGNORE, 0x57, },  /* Battery mode */
+       { KE_IGNORE, 0x58, },  /* AC mode */
        { KE_KEY, 0x5C, { KEY_F15 } },  /* Power Gear key */
        { KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */
        { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */