aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/x86/utils.c
diff options
context:
space:
mode:
authorGravatar Hans de Goede <hdegoede@redhat.com> 2024-04-06 15:56:24 +0200
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2024-04-08 16:50:46 +0200
commitbfd1a492b56082034cdf560d66c26b3b636fad18 (patch)
tree5cd682596a9d581a8193a2c4e808942eca84c76d /drivers/acpi/x86/utils.c
parentACPI: x86: Move LPSS to x86 folder (diff)
downloadlinux-bfd1a492b56082034cdf560d66c26b3b636fad18.tar.gz
linux-bfd1a492b56082034cdf560d66c26b3b636fad18.tar.bz2
linux-bfd1a492b56082034cdf560d66c26b3b636fad18.zip
ACPI: x86: utils: Mark SMO8810 accel on Dell XPS 15 9550 as always present
The Dell XPS 15 9550 has a SMO8110 accelerometer / HDD freefall sensor which is wrongly marked as not present. Mark this as always present so that the dell-smo8800 driver can bind to it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/x86/utils.c')
-rw-r--r--drivers/acpi/x86/utils.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c
index 90c3d2eab9e9..c7af2d2986fd 100644
--- a/drivers/acpi/x86/utils.c
+++ b/drivers/acpi/x86/utils.c
@@ -101,6 +101,15 @@ static const struct override_status_id override_status_ids[] = {
}),
/*
+ * The Dell XPS 15 9550 has a SMO8110 accelerometer /
+ * HDD freefall sensor which is wrongly marked as not present.
+ */
+ PRESENT_ENTRY_HID("SMO8810", "1", SKYLAKE, {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9550"),
+ }),
+
+ /*
* The GPD win BIOS dated 20170221 has disabled the accelerometer, the
* drivers sometimes cause crashes under Windows and this is how the
* manufacturer has solved this :| The DMI match may not seem unique,