]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
authorDmitry Panchenko <dmitry@d-systems.ee>
Thu, 20 Feb 2025 15:39:31 +0000 (17:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:31:00 +0000 (14:31 +0200)
[ Upstream commit 2738d06fb4f01145b24c542fb06de538ffc56430 ]

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.

Signed-off-by: Dmitry Panchenko <dmitry@d-systems.ee>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250220154016.3620917-1-dmitry@d-systems.ee
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel-hid.c

index 0b0602fc43601c98255ab44e28fafe229fe288d0..9bc2652b15e71a69df860a6f22e8a372f23de4e5 100644 (file)
@@ -100,6 +100,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"),
+               },
+       },
        { }
 };