platform/x86: thinkpad_acpi: Add 2nd Fan Support for Thinkpad P50
authorAlexander Kappner <agk@godking.net>
Mon, 2 Apr 2018 18:27:01 +0000 (11:27 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Apr 2018 08:06:04 +0000 (11:06 +0300)
commita986c75a7df027d2c649a8f087be9417372cbfb3
treeb9baf1be1a9e156c0b6c2ef091fae860ed7e3762
parent0e5b09b165510e2ea5c526e962c4edadd849ef4c
platform/x86: thinkpad_acpi: Add 2nd Fan Support for Thinkpad P50

The Thinkpad P50 has 2 fans. Add the 2FAN quirk so the tpacpi driver
properly reports both fan speeds.
Because the P50 doesn't report the version of its EC controller,
we need to identify it by BIOS version (N1).

Signed-off-by: Alexander Kappner <agk@godking.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
[andy: renamed macro, massaged changelog]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c