aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIke Panhc <ike.pan@canonical.com>2018-08-14 04:36:53 -0400
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-15 06:17:48 -0400
commit56c9bba135ab7884d65f92b19ee87f794508d7dc (patch)
tree4c3216fb9d9b21d690b26ae2e876da8f850dea1c
parent880b29ac107d15644bf4da228376ba3cd6af6d71 (diff)
platform/x86: ideapad: Add Y520-15IKBM and Y720-15IKBM to no_hw_rfkill
Lenovo Y520-15IKBM and Y720-15IKBM are another Lenovo models without physical radio switch and ideapad-laptop reports it is hard blocked. Add them into no_hw_rfkill to unlock wireless. BugLink: https://bugs.launchpad.net/bugs/1723612 Signed-off-by: Ike Panhc <ike.pan@canonical.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/ideapad-laptop.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 307403decf76..d4f1259ff5a2 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -1140,6 +1140,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
1140 }, 1140 },
1141 }, 1141 },
1142 { 1142 {
1143 .ident = "Lenovo Y520-15IKBM",
1144 .matches = {
1145 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1146 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBM"),
1147 },
1148 },
1149 {
1143 .ident = "Lenovo Legion Y720-15IKB", 1150 .ident = "Lenovo Legion Y720-15IKB",
1144 .matches = { 1151 .matches = {
1145 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 1152 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
@@ -1154,6 +1161,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
1154 }, 1161 },
1155 }, 1162 },
1156 { 1163 {
1164 .ident = "Lenovo Y720-15IKBM",
1165 .matches = {
1166 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1167 DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKBM"),
1168 },
1169 },
1170 {
1157 .ident = "Lenovo Yoga 2 11 / 13 / Pro", 1171 .ident = "Lenovo Yoga 2 11 / 13 / Pro",
1158 .matches = { 1172 .matches = {
1159 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 1173 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),