summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorArnold Gozum <arngozum@gmail.com>2020-12-26 15:53:06 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-07 15:35:48 +0100
commitd1aed452c05fc48e4aa32a6ae8264b6e64f34778 (patch)
treea0626451ee59bb60733c3f38a705f49e632e8765 /drivers/platform
parentc99ac721363822f0df58f7abb37f28b5610a3c57 (diff)
downloadlinux-d1aed452c05fc48e4aa32a6ae8264b6e64f34778.tar.gz
linux-d1aed452c05fc48e4aa32a6ae8264b6e64f34778.tar.bz2
linux-d1aed452c05fc48e4aa32a6ae8264b6e64f34778.zip
platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
[ Upstream commit fcd38f178b785623c0325958225744f0d8a075c0 ] The Dell Inspiron 7352 is a 2-in-1 model that has chassis-type "Notebook". Add this model to the dmi_switches_allow_list. Signed-off-by: Arnold Gozum <arngozum@gmail.com> Link: https://lore.kernel.org/r/20201226205307.249659-1-arngozum@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform')
-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 37035dca469c..d4fc2cbf7870 100644
--- a/drivers/platform/x86/intel-vbtn.c
+++ b/drivers/platform/x86/intel-vbtn.c
@@ -203,6 +203,12 @@ static const struct dmi_system_id dmi_switches_allow_list[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Switch SA5-271"),
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7352"),
+ },
+ },
{} /* Array terminator */
};