summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNickolai Kozachenko <daemongloom@gmail.com>2020-05-30 22:07:20 +0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-22 09:05:20 +0200
commitda725858a2317d474c24e287a2b4d74de6dd7acf (patch)
tree8b29a3d41355f58ee393ebf4e751bdc62b3f4b36
parent1a3cee008fe4120384824e439052170b0bf31b1c (diff)
platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015)
[ Upstream commit 8fe63eb757ac6e661a384cc760792080bdc738dc ] HEBC method reports capabilities of 5 button array but HP Spectre X2 (2015) does not have this control method (the same was for Wacom MobileStudio Pro). Expand previous DMI quirk by Alex Hung to also enable 5 button array for this system. Signed-off-by: Nickolai Kozachenko <daemongloom@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
-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 3201a83073b5..c514cb73bb50 100644
--- a/drivers/platform/x86/intel-hid.c
+++ b/drivers/platform/x86/intel-hid.c
@@ -87,6 +87,13 @@ static const struct dmi_system_id button_array_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Wacom MobileStudio Pro 16"),
},
},
+ {
+ .ident = "HP Spectre x2 (2015)",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x2 Detachable"),
+ },
+ },
{ }
};