diff options
author | Shih-Yuan Lee (FourDollars) <sylee@canonical.com> | 2017-12-19 10:39:49 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-12-21 13:56:27 +0100 |
commit | 842b854459462a6065d3595f8485601800bbf5d3 (patch) | |
tree | beeaca16525b3b1347f20dddaff1f9789024d163 /drivers/platform/x86/dell-wmi.c | |
parent | platform/x86: pmc_atom: introduce DEFINE_SHOW_ATTRIBUTE() macro (diff) | |
download | linux-842b854459462a6065d3595f8485601800bbf5d3.tar.xz linux-842b854459462a6065d3595f8485601800bbf5d3.zip |
platform/x86: dell-wmi: Add an event created by Dell Latitude 5495
The Dell Latitude 5495 has the mic mute key.
Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@canonical.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell-wmi.c')
-rw-r--r-- | drivers/platform/x86/dell-wmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index fb25b20df316..2c9927430d85 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -261,6 +261,9 @@ static const u16 bios_to_linux_keycode[256] = { * override them. */ static const struct key_entry dell_wmi_keymap_type_0010[] = { + /* Mic mute */ + { KE_KEY, 0x150, { KEY_MICMUTE } }, + /* Fn-lock */ { KE_IGNORE, 0x151, { KEY_RESERVED } }, |