platform/x86: thinkpad_acpi: Read EC information on newer models
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 8 Mar 2019 13:14:26 +0000 (21:14 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Apr 2019 17:12:13 +0000 (20:12 +0300)
commit9a4b33d4d22f3ff3fb1a24b8be5edae3be1c795d
tree172082fdf9bcc201338e0398c84c2e1a94d04c00
parentf7db839fccf087664e5587966220821289b6a9cb
platform/x86: thinkpad_acpi: Read EC information on newer models

Newer ThinkPads have a totally different EC program information DMI
table. And thermal subdriver can't work without correct EC version.

Read from this entry if the old method failed to get EC information.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c