summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorCrag Wang <crag_wang@dell.com>2024-10-04 17:27:58 +0200
committerHans de Goede <hdegoede@redhat.com>2024-10-06 12:44:16 +0200
commita561509b4187a8908eb7fbb2d1bf35bbc20ec74b (patch)
treef839c5753bfc3a418f471b9e4b4e30d101327f47 /drivers/platform
parentplatform/x86/intel: power-domains: Add Diamond Rapids support (diff)
downloadlinux-a561509b4187a8908eb7fbb2d1bf35bbc20ec74b.tar.xz
linux-a561509b4187a8908eb7fbb2d1bf35bbc20ec74b.zip
platform/x86: dell-sysman: add support for alienware products
Alienware supports firmware-attributes and has its own OEM string. Signed-off-by: Crag Wang <crag_wang@dell.com> Link: https://lore.kernel.org/r/20241004152826.93992-1-crag_wang@dell.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/dell/dell-wmi-sysman/sysman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
index 9def7983d7d6..40ddc6eb7562 100644
--- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
+++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
@@ -521,6 +521,7 @@ static int __init sysman_init(void)
int ret = 0;
if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
+ !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) &&
!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
pr_err("Unable to run on non-Dell system\n");
return -ENODEV;