projects
/
users
/
hch
/
misc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e16f7ee
)
platform/x86: dell-sysman: add support for alienware products
author
Crag Wang <crag_wang@dell.com>
Fri, 4 Oct 2024 15:27:58 +0000
(23:27 +0800)
committer
Hans de Goede <hdegoede@redhat.com>
Sun, 6 Oct 2024 10:44:16 +0000
(12:44 +0200)
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>
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
index 9def7983d7d66ad4aa7d084915014f87b9480447..40ddc6eb75624e713dc4d2f7e92bc5f63fa4fde8 100644
(file)
--- 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;