Skip to content

Commit 83bcf3e

Browse files
Kobatwjwrdegoede
authored andcommitted
platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
Some platforms send the speaker-mute key from EC. dell-wmi can't recognize it. Add a new keymap for KEY_MUTE in type 0x0010 table. Signed-off-by: Koba Ko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 2241ab5 commit 83bcf3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/platform/x86/dell/dell-wmi-base.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ static const struct key_entry dell_wmi_keymap_type_0010[] = {
261261
{ KE_KEY, 0x57, { KEY_BRIGHTNESSDOWN } },
262262
{ KE_KEY, 0x58, { KEY_BRIGHTNESSUP } },
263263

264+
/*Speaker Mute*/
265+
{ KE_KEY, 0x109, { KEY_MUTE} },
266+
264267
/* Mic mute */
265268
{ KE_KEY, 0x150, { KEY_MICMUTE } },
266269

0 commit comments

Comments
 (0)