platform/x86: ideapad: Add ideapad 330-15ICH to no_hw_rfkill
authorAnthony Wong <anthony.wong@ubuntu.com>
Sat, 19 Jan 2019 06:21:15 +0000 (14:21 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Feb 2019 18:28:54 +0000 (20:28 +0200)
Lenovo ideapad 330-15ICH does not have hardware radio switch
but driver wrongly reports all radios as hard-blocked, add
it to no_hw_rfkill to fix it.

BugLink: https://bugs.launchpad.net/bugs/1811815
Signed-off-by: Anthony Wong <anthony.wong@ubuntu.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index 1589dffab9faf1359cf7eaa9f075d8d3e75d6f42..21d469b9b4fb8c0593d6cb77da9382ee55fe4f6a 100644 (file)
@@ -1090,6 +1090,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 310-15ISK"),
                },
        },
+       {
+               .ident = "Lenovo ideapad 330-15ICH",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 330-15ICH"),
+               },
+       },
        {
                .ident = "Lenovo ideapad Y700-14ISK",
                .matches = {