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

From: Hans de Goede
Date: Sun Oct 06 2024 - 06:43:38 EST


Hi,

On 4-Oct-24 5:27 PM, Crag Wang wrote:
> Alienware supports firmware-attributes and has its own OEM string.
>
> Signed-off-by: Crag Wang <crag_wang@xxxxxxxx>

Thank you for your patch/series, I've applied this patch
(series) to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in the pdx86 review-hans branch once I've
pushed my local branch there, which might take a while.

I will include this patch in my next fixes pull-req to Linus
for the current kernel development cycle.

Regards,

Hans



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