platform/x86: ideapad-laptop: Add Ideapad 530S-14ARR to no_hw_rfkill list
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 5 Mar 2019 08:55:21 +0000 (16:55 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Mar 2019 13:51:20 +0000 (15:51 +0200)
This platform doesn't have hardware switch for rfkill, so add it to
no_hw_rfkill list to prevent wireless gets hard-blocked.

BugLink: https://bugs.launchpad.net/bugs/1818204
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index f3e8705..c3b534e 100644 (file)
@@ -1097,6 +1097,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 330-15ICH"),
                },
        },
+       {
+               .ident = "Lenovo ideapad 530S-14ARR",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 530S-14ARR"),
+               },
+       },
        {
                .ident = "Lenovo ideapad Y700-14ISK",
                .matches = {