From: Sebastian Krzyszkowiak Date: Sat, 18 Jul 2015 23:10:21 +0000 (+0200) Subject: ideapad-laptop: add alternative representation for Yoga 2 to DMI table X-Git-Tag: omap-for-v4.3/fixes-rc1~61^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d212b8adce4ddaa20229f781cc86bccb396a9fe;p=pandora-kernel.git 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 Signed-off-by: Darren Hart --- Reading git-diff-tree failed