projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e406b
)
platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
author
Fae
<faenkhauser@gmail.com>
Tue, 25 Apr 2023 06:36:44 +0000
(
01:36
-0500)
committer
Hans de Goede
<hdegoede@redhat.com>
Tue, 9 May 2023 08:54:33 +0000
(10:54 +0200)
Fixes micmute key of HP Envy X360 ey0xxx.
Signed-off-by: Fae <faenkhauser@gmail.com>
Link:
https://lore.kernel.org/r/20230425063644.11828-1-faenkhauser@gmail.com
Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp/hp-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/hp/hp-wmi.c
b/drivers/platform/x86/hp/hp-wmi.c
index 873f59c3e280420f8635ccdb76f8906d877ed7ec..6364ae2627058384a71da53504693e067687f204 100644
(file)
--- a/
drivers/platform/x86/hp/hp-wmi.c
+++ b/
drivers/platform/x86/hp/hp-wmi.c
@@
-211,6
+211,7
@@
struct bios_rfkill2_state {
static const struct key_entry hp_wmi_keymap[] = {
{ KE_KEY, 0x02, { KEY_BRIGHTNESSUP } },
{ KE_KEY, 0x03, { KEY_BRIGHTNESSDOWN } },
+ { KE_KEY, 0x270, { KEY_MICMUTE } },
{ KE_KEY, 0x20e6, { KEY_PROG1 } },
{ KE_KEY, 0x20e8, { KEY_MEDIA } },
{ KE_KEY, 0x2142, { KEY_MEDIA } },