mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hp-wmi: add micmute to hp_wmi_keymap struct
@ 2023-04-25  6:36 Fae
  2023-04-25 17:55 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Fae @ 2023-04-25  6:36 UTC (permalink / raw)
  To: markgross
  Cc: jorge.lopez2, kai.heng.feng, rishitbansal0, dhould3,
	platform-driver-x86, linux-kernel, Fae

Fixes micmute key of HP Envy X360 ey0xxx

Signed-off-by: Fae <faenkhauser@gmail.com>
---
 drivers/platform/x86/hp/hp-wmi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
index 873f59c3e280..6364ae262705 100644
--- 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 } },
-- 
2.40.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hp-wmi: add micmute to hp_wmi_keymap struct
  2023-04-25  6:36 [PATCH] hp-wmi: add micmute to hp_wmi_keymap struct Fae
@ 2023-04-25 17:55 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2023-04-25 17:55 UTC (permalink / raw)
  To: Fae, markgross
  Cc: jorge.lopez2, kai.heng.feng, rishitbansal0, dhould3,
	platform-driver-x86, linux-kernel

Hi,

On 4/25/23 08:36, Fae wrote:
> Fixes micmute key of HP Envy X360 ey0xxx
> 
> Signed-off-by: Fae <faenkhauser@gmail.com>

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



> ---
>  drivers/platform/x86/hp/hp-wmi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
> index 873f59c3e280..6364ae262705 100644
> --- 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 } },


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-25 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25  6:36 [PATCH] hp-wmi: add micmute to hp_wmi_keymap struct Fae
2023-04-25 17:55 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®