[SRU][O][PATCH 1/1] platform/x86: dell-sysman: add support for alienware products

En-Wei Wu en-wei.wu at canonical.com
Thu Oct 17 13:19:17 UTC 2024


From: Crag Wang <crag_wang at dell.com>

BugLink: https://bugs.launchpad.net/bugs/2084808

Alienware supports firmware-attributes and has its own OEM string.

Signed-off-by: Crag Wang <crag_wang at dell.com>
Link: https://lore.kernel.org/r/20241004152826.93992-1-crag_wang@dell.com
Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
(cherry picked from commit a561509b4187a8908eb7fbb2d1bf35bbc20ec74b linux-next)
Signed-off-by: En-Wei Wu <en-wei.wu at canonical.com>
---
 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.43.0




More information about the kernel-team mailing list