summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrag Wang <crag_wang@dell.com>2024-10-04 23:27:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-01 01:56:03 +0100
commitfa001d7e2c659beeaef600ae1759b0b0cde6d613 (patch)
tree156e135c021d33b78fb86c941898ce894025b4fd
parentd71a2d54fb111abe01a5486afbf12ee141a3da6a (diff)
downloadlinux-fa001d7e2c659beeaef600ae1759b0b0cde6d613.tar.gz
linux-fa001d7e2c659beeaef600ae1759b0b0cde6d613.tar.bz2
linux-fa001d7e2c659beeaef600ae1759b0b0cde6d613.zip
platform/x86: dell-sysman: add support for alienware products
[ Upstream commit a561509b4187a8908eb7fbb2d1bf35bbc20ec74b ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
-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 b2406a595be9..3ef90211c51a 100644
--- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
+++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
@@ -524,6 +524,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;