platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
Subsystems (2)
PATCH 1/1 platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
From: Dmitry Panchenko <[email protected]>
Volume buttons on Microsoft Surface Go 4 tablet didn't send any events. Add Surface Go 4 DMI match to button_array_table to fix this.
--- drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/hid.c +7 -0
@@ -139,6 +139,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"), }, }, + { + .ident = "Microsoft Surface Go 4", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"), + }, + }, { } };
Signature · 1 line
2.43.0
Hi,
Quoted 6 lines · Dmitry Panchenko | d-Systems
From: Dmitry Panchenko <[email protected]>
Volume buttons on Microsoft Surface Go 4 tablet didn't send any events. Add Surface Go 4 DMI match to
button_array_tableto fix this.Signed-off-by Dmitry Panchenko <[email protected]>
Thanks, patch looks good to me:
Regards,
Hans
Quoted 22 lines
--- drivers/platform/x86/intel/hid.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/platform/x86/intel/hid.c +7
-0@@ -139,6 +139,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"), }, }, + { + .ident = "Microsoft Surface Go 4", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 4"), + }, + }, { } };
Ilpo Järvinen
maintainerQuoted 4 lines · Dmitry Panchenko | d-Systems
Volume buttons on Microsoft Surface Go 4 tablet didn't send any events. Add Surface Go 4 DMI match to
button_array_tableto fix this.
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
commit: 2738d06fb4f01145b24c542fb06de538ffc56430
--
i.