diff options
author | Loic WEI YU NENG <loic.wyn@gmail.com> | 2018-11-14 16:12:12 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-11-27 16:45:19 +0100 |
commit | 91a753608262d26faf48b1805aed60aa3283be93 (patch) | |
tree | a42afd7a429f7040ddab95a6361379a36a807616 /drivers/platform | |
parent | platform/x86: intel_pmc_core: Decode Snoop / Non Snoop LTR (diff) | |
download | linux-91a753608262d26faf48b1805aed60aa3283be93.tar.xz linux-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')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 7 |
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"), |