projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea74a5
)
platform/x86: dell-wmi: Add an event created by Dell Latitude 5495
author
Shih-Yuan Lee (FourDollars)
<
[email protected]
>
Tue, 19 Dec 2017 09:39:49 +0000
(17:39 +0800)
committer
Andy Shevchenko
<
[email protected]
>
Thu, 21 Dec 2017 12:56:27 +0000
(14:56 +0200)
The Dell Latitude 5495 has the mic mute key.
Signed-off-by: Shih-Yuan Lee (FourDollars) <
[email protected]
>
Reviewed-by: Pali Rohár <
[email protected]
>
Signed-off-by: Andy Shevchenko <
[email protected]
>
drivers/platform/x86/dell-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/dell-wmi.c
b/drivers/platform/x86/dell-wmi.c
index fb25b20df316f39140a3af0f974e9f1fa30aabff..2c9927430d8525bc7df26c50de85e5a2fd8863d1 100644
(file)
--- 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 } },