Blob Blame History Raw
From 5d9f40b56630a8702b5f7a61a770f9b73aa07464 Mon Sep 17 00:00:00 2001
From: Olle Liljenzin <olle@liljenzin.se>
Date: Sun, 18 Jun 2017 13:09:31 +0200
Subject: [PATCH] platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill
Git-commit: 5d9f40b56630a8702b5f7a61a770f9b73aa07464
Patch-mainline: v4.13-rc1
References: bsc#1051022

Lenovo Legion Y520-15IKBN is yet another Lenovo model that does not
have an hw rfkill switch, resulting in wifi always reported as hard
blocked.

Add the model to the list of models without rfkill switch.

Signed-off-by: Olle Liljenzin <olle@liljenzin.se>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>

---
 drivers/platform/x86/ideapad-laptop.c |    7 +++++++
 1 file changed, 7 insertions(+)

--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -915,6 +915,13 @@ static const struct dmi_system_id no_hw_
 		},
 	},
 	{
+		.ident = "Lenovo Legion Y520-15IKBN",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"),
+		},
+	},
+	{
 		.ident = "Lenovo Yoga 2 11 / 13 / Pro",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),