Re: [PATCH] platform/x86: asus-nb-wmi: Support ALS on the Zenbook UX430UNR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 4, 2019 at 6:32 PM Kristian Klausen <kristian@xxxxxxxxxx> wrote:
>
> This patch adds support for ALS on the Zenbook UX430UNR to the asus_nb_wmi
> driver.
>

Pushed to my review and testing queue, thanks!

> Signed-off-by: Kristian Klausen <kristian@xxxxxxxxxx>
> ---
> There is a few other laptops in the UX430 series (UX430UA, UX430UN,
> UX430UAR), which probably need the same fix.
> Would it be better to match against UX430?

Let's see when we need to add next one.

>
>  drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
> index 2ebde0174937..b361c73636a4 100644
> --- a/drivers/platform/x86/asus-nb-wmi.c
> +++ b/drivers/platform/x86/asus-nb-wmi.c
> @@ -402,6 +402,15 @@ static const struct dmi_system_id asus_quirks[] = {
>                 },
>                 .driver_data = &quirk_asus_forceals,
>         },
> +       {
> +               .callback = dmi_matched,
> +               .ident = "ASUSTeK COMPUTER INC. UX430UNR",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "UX430UNR"),
> +               },
> +               .driver_data = &quirk_asus_forceals,
> +       },
>         {},
>  };
>
> --
> 2.22.0
>


-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux