Re: [PATCH] Added Yoga C930 to ideapad_laptop no_hw_rfkill_list

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

 



On Sun, Feb 24, 2019 at 10:01 PM Hugo Trovao <htrovao@xxxxxxxxx> wrote:
>
> Lenovo Yoga C930 does not have a physical hw radio switch which
> makes ideapad_laptop to incorrectly disable radio while it should
> be working fine.  Adding it to the no_hw_rfkill_list makes
> wireless available again without having to unload the module.
>

Pushed to my review and testing queue, thanks!


> Signed-off-by: Hugo Trovao <htrovao@xxxxxxxxx>
> ---
>  drivers/platform/x86/ideapad-laptop.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
> index 1589dffab9fa..d06fbcd38171 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -1244,6 +1244,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>                         DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
>                 },
>         },
> +       {
> +               .ident = "Lenovo YOGA C930-13IKB",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA C930-13IKB"),
> +               },
> +       },
>         {
>                 .ident = "Lenovo Zhaoyang E42-80",
>                 .matches = {
> --
> 2.20.1
>


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