summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-wmi.c
diff options
context:
space:
mode:
authorShih-Yuan Lee (FourDollars) <sylee@canonical.com>2017-12-19 17:39:49 +0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-12-21 14:56:27 +0200
commit842b854459462a6065d3595f8485601800bbf5d3 (patch)
treebeeaca16525b3b1347f20dddaff1f9789024d163 /drivers/platform/x86/dell-wmi.c
parent1ea74a560c7b5bf94fe41818f04dedcefcd17b55 (diff)
downloadlinux-842b854459462a6065d3595f8485601800bbf5d3.tar.gz
linux-842b854459462a6065d3595f8485601800bbf5d3.tar.bz2
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.c3
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 } },