]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
platform/x86: ideapad-laptop: Add IdeaPad 310-15IKB to no_hw_rfkill
authorSven Rebhan <sven.rebhan@gmail.com>
Tue, 21 Feb 2017 19:53:48 +0000 (20:53 +0100)
committerDarren Hart <dvhart@infradead.org>
Wed, 15 Mar 2017 05:57:14 +0000 (22:57 -0700)
Like other Lenovo models the IdeaPad 310-15IKB does not have an hw rfkill
switch. This results in hard-blocked radios after boot, resulting in
always blocked radios rendering them unusable.

Add the IdeaPad 310-15IKB to the no_hw_rfkill DMI list and allows using
the built-in radios.

Signed-off-by: Sven Rebhan <Sven.Rebhan@googlemail.com>
[andy: massaged commit message]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index f46ece2ce3c4d48086c73b0e2d0c63ee1fe35893..cc6d91e186837e60bc5ab393cc652da1e27f05f9 100644 (file)
@@ -871,6 +871,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
                },
        },
+       {
+               .ident = "Lenovo ideapad 310-15IKB",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 310-15IKB"),
+               },
+       },
        {
                .ident = "Lenovo ideapad Y700-15ACZ",
                .matches = {