summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorDmitry Panchenko <dmitry@d-systems.ee>2025-02-20 17:39:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-10 14:33:39 +0200
commit70bb0d7129908ce2b233ecbdba98989b434a8362 (patch)
treed2454675f9b42b638acffbc69b46fa73dbd832b0 /drivers/platform
parent3f3a07fcb519fc5cad90044355ee17df438fdf08 (diff)
downloadlinux-70bb0d7129908ce2b233ecbdba98989b434a8362.tar.gz
linux-70bb0d7129908ce2b233ecbdba98989b434a8362.tar.bz2
linux-70bb0d7129908ce2b233ecbdba98989b434a8362.zip
platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
[ 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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/intel/hid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c
index b96ef0eb82af..c13837401c26 100644
--- a/drivers/platform/x86/intel/hid.c
+++ b/drivers/platform/x86/intel/hid.c
@@ -109,6 +109,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"),
+ },
+ },
{ }
};