summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMax Verevkin <me@maxverevkin.tk>2020-11-24 14:16:52 +0100
committerHans de Goede <hdegoede@redhat.com>2020-11-24 13:11:12 +0100
commit07b211992d6c0d80b321403244d43bbd2d6cf48c (patch)
tree59857a0a463e5ebaf1a8cc906cf9bca2877f136a /drivers
parentplatform/x86: thinkpad_acpi: Send tablet mode switch at wakeup time (diff)
downloadlinux-07b211992d6c0d80b321403244d43bbd2d6cf48c.tar.xz
linux-07b211992d6c0d80b321403244d43bbd2d6cf48c.zip
platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC
The Pavilion 13 x360 PC has a chassis-type which does not indicate it is a convertible, while it is actually a convertible. Add it to the dmi_switches_allow_list. Signed-off-by: Max Verevkin <me@maxverevkin.tk> Link: https://lore.kernel.org/r/20201124131652.11165-1-me@maxverevkin.tk Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/intel-vbtn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel-vbtn.c b/drivers/platform/x86/intel-vbtn.c
index f5901b0b07cd..0419c8001fe3 100644
--- a/drivers/platform/x86/intel-vbtn.c
+++ b/drivers/platform/x86/intel-vbtn.c
@@ -206,6 +206,12 @@ static const struct dmi_system_id dmi_switches_allow_list[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Stream x360 Convertible PC 11"),
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion 13 x360 PC"),
+ },
+ },
{} /* Array terminator */
};