projects
/
wrapfs-5.9.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e2d0a
)
platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC
author
Max Verevkin
<me@maxverevkin.tk>
Tue, 24 Nov 2020 13:16:52 +0000
(15:16 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 16 Dec 2020 09:58:33 +0000
(10:58 +0100)
[ Upstream commit
8b205d3e1bf52ab31cdd5c55f87c87a227793d84
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel-vbtn.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel-vbtn.c
b/drivers/platform/x86/intel-vbtn.c
index f5901b0b07cd89fbb182e82eedbd253945a58227..0419c8001fe33f7cecb41cf850e16f973e895683 100644
(file)
--- 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 */
};