OSDN Git Service

platform/x86: ideapad: Add Y530-15ICH to no_hw_rfkill
authorMisha Komarovskiy <zombah@gmail.com>
Fri, 26 Oct 2018 23:07:23 +0000 (02:07 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 31 Oct 2018 14:11:39 +0000 (16:11 +0200)
Lenovo Legion Y530-15ICH is another model without
hardware radio switch. Add it to no_hw_rfkill to
enable wireless.

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index f856d59..b6489cb 100644 (file)
@@ -1147,6 +1147,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                },
        },
        {
+               .ident = "Lenovo Legion Y530-15ICH",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Legion Y530-15ICH"),
+               },
+       },
+       {
                .ident = "Lenovo Legion Y720-15IKB",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),