diff options
author | Sebastian Krzyszkowiak <dos@dosowisko.net> | 2015-07-19 01:10:21 +0200 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-08-10 21:24:23 -0700 |
commit | 6d212b8adce4ddaa20229f781cc86bccb396a9fe (patch) | |
tree | 9f8dcb1be3f48deb1c6bbc73c7cc27a79a027b9a /drivers/platform | |
parent | 97ade7697bb104523417d0f9b5e38a8bf55ed7f1 (diff) | |
download | linux-stable-6d212b8adce4ddaa20229f781cc86bccb396a9fe.tar.gz linux-stable-6d212b8adce4ddaa20229f781cc86bccb396a9fe.tar.bz2 linux-stable-6d212b8adce4ddaa20229f781cc86bccb396a9fe.zip |
ideapad-laptop: add alternative representation for Yoga 2 to DMI table
There is at least one (mine) Yoga 2 Pro in existence that has incorrect
product version stored in DMI (reading as "INVALID"), causing it to not be
recognized as Yoga 2 by ideapad-laptop module, which in turn causes
non-existent hardware rfkills to be always reported as blocked.
This change adds a second check by board name, which is "Yoga2".
Looks like it also happens to be "INVALID" on some other Yoga 2 machines
where product version is correct instead, so the original check is left
intact to catch both cases.
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Signed-off-by: Darren Hart <dvhart@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 81c3e582309a..fce49f3c6ed6 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -860,6 +860,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { }, }, { + .ident = "Lenovo Yoga 2 11 / 13 / Pro", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_BOARD_NAME, "Yoga2"), + }, + }, + { .ident = "Lenovo Yoga 3 Pro 1370", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |