aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorLoic WEI YU NENG <loic.wyn@gmail.com>2018-11-14 07:12:12 -0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-11-27 17:45:19 +0200
commit91a753608262d26faf48b1805aed60aa3283be93 (patch)
treea42afd7a429f7040ddab95a6361379a36a807616 /drivers/platform/x86
parentplatform/x86: intel_pmc_core: Decode Snoop / Non Snoop LTR (diff)
downloadlinux-dev-91a753608262d26faf48b1805aed60aa3283be93.tar.xz
linux-dev-91a753608262d26faf48b1805aed60aa3283be93.zip
platform/x86: ideapad-laptop: Add Yoga 2 13 to no_hw_rfkill list
Some Lenovo IdeaPad models lack a physical rfkill switch. On Lenovo models Yoga 2 13, ideapad-laptop would wrongly report all radios as blocked by hardware which caused wireless network connections to fail. Add these models without an rfkill switch to the no_hw_rfkill list. Signed-off-by: Loic WEI YU NENG <loic.wyn@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/ideapad-laptop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index b6489cba2985..1589dffab9fa 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -1189,6 +1189,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
},
},
{
+ .ident = "Lenovo Yoga 2 13",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Yoga 2 13"),
+ },
+ },
+ {
.ident = "Lenovo Yoga 3 1170 / 1470",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),