]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61f030a5f2d20987c91404dd89915c1bb34ac82f
treeb9baf1be1a9e156c0b6c2ef091fae860ed7e3762
parent7d073e3769d6e79b544b5bc1872d0f371bc085f3
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