Re: [PATCHv2 1/1] platform/x86: dell-sysman: add support for alienware products

From: Mario Limonciello
Date: Tue Sep 24 2024 - 09:24:38 EST


On 9/24/2024 00:02, Crag Wang wrote:
Remove the URL check and add alienware string for broader support.

Signed-off-by: Crag Wang <crag_wang@xxxxxxxx>
---
Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
index 9def7983d7d6..68c63e1fbd27 100644
--- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
+++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
@@ -521,7 +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, "www.dell.com", NULL)) {
+ !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL)) {
pr_err("Unable to run on non-Dell system\n");
return -ENODEV;
}