From: Shih-Yuan Lee (FourDollars) Date: Tue, 19 Dec 2017 09:39:49 +0000 (+0800) Subject: platform/x86: dell-wmi: Add an event created by Dell Latitude 5495 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=842b854459462a6065d3595f8485601800bbf5d3;p=openwrt%2Fstaging%2Fblogic.git 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) Reviewed-by: Pali Rohár Signed-off-by: Andy Shevchenko --- 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 } },