hp-wmi: add micmute to hp_wmi_keymap struct
PATCH 1/1 hp-wmi: add micmute to hp_wmi_keymap struct
Fixes micmute key of HP Envy X360 ey0xxx
Signed-off-by Fae <[email protected]>
--- drivers/platform/x86/hp/hp-wmi.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/hp/hp-wmi.c +1 -0
@@ -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 } },
Signature · 1 line
2.40.0
Hi,
Quoted 3 lines · Fae
Fixes micmute key of HP Envy X360 ey0xxx
Signed-off-by Fae <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.
Patches which are added to review-hans now are intended for the next rc1. This branch will get rebased to the next rc1 when it is out and after the rebasing the contents of review-hans will be pushed to the platform-drivers-x86/for-next branch.
Regards,
Hans
Quoted 16 lines
--- drivers/platform/x86/hp/hp-wmi.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/hp/hp-wmi.c +1
-0@@ -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 } },