summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-wmi.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-07-27 09:34:42 +0200
committerDarren Hart <dvhart@linux.intel.com>2016-08-08 11:00:21 -0700
commit65a97a67a7d7b7a953492573d5740d32510b9daa (patch)
treed1e0c44ff81b9b885075cedc19a95d5865f0e9bb /drivers/platform/x86/dell-wmi.c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-65a97a67a7d7b7a953492573d5740d32510b9daa.tar.gz
linux-65a97a67a7d7b7a953492573d5740d32510b9daa.tar.bz2
linux-65a97a67a7d7b7a953492573d5740d32510b9daa.zip
dell-wmi: Ignore WMI event 0xe00e
WMI event 0xe00e is received when battery was removed or inserted. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell-wmi.c')
-rw-r--r--drivers/platform/x86/dell-wmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index d2bc092defd7..da2fe18162e1 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -110,8 +110,8 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = {
/* BIOS error detected */
{ KE_IGNORE, 0xe00d, { KEY_RESERVED } },
- /* Unknown, defined in ACPI DSDT */
- /* { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, */
+ /* Battery was removed or inserted */
+ { KE_IGNORE, 0xe00e, { KEY_RESERVED } },
/* Wifi Catcher */
{ KE_KEY, 0xe011, { KEY_PROG2 } },