]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
authorArnold Gozum <arngozum@gmail.com>
Sat, 26 Dec 2020 20:53:06 +0000 (15:53 -0500)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 24 Mar 2021 10:11:32 +0000 (11:11 +0100)
BugLink: https://bugs.launchpad.net/bugs/1916061
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/platform/x86/intel-vbtn.c

index 37035dca469cf21cc12c0af3033eadfac7988add..d4fc2cbf787038600a354dba3537d69ff0ba764a 100644 (file)
@@ -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 */
 };