summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIakov 'Jake' Kirilenko <jake.kirilenko@gmail.com>2020-11-05 18:25:56 +0300
committerHans de Goede <hdegoede@redhat.com>2020-11-26 15:44:09 +0100
commit15d89c9f6f4a186ade7aefbe77e7ede9746b6c47 (patch)
tree01de8a6518aa86234ba873fa4ee605f81e51974a /drivers
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-15d89c9f6f4a186ade7aefbe77e7ede9746b6c47.tar.bz2
platform/x86: thinkpad_acpi: add P1 gen3 second fan support
Tested on my P1 gen3, works fine with `thinkfan`. Since thinkpad_acpi fan control is off by default, it is safe to add 2nd fan control for brave overclockers Signed-off-by: Iakov 'Jake' Kirilenko <jake.kirilenko@gmail.com> Link: https://lore.kernel.org/r/20201105152556.34073-1-jake.kirilenko@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index e3810675090a..4d64ba29132b 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -8776,6 +8776,7 @@ static const struct tpacpi_quirk fan_quirk_table[] __initconst = {
TPACPI_Q_LNV3('N', '2', 'C', TPACPI_FAN_2CTL), /* P52 / P72 */
TPACPI_Q_LNV3('N', '2', 'E', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (1st gen) */
TPACPI_Q_LNV3('N', '2', 'O', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (2nd gen) */
+ TPACPI_Q_LNV3('N', '2', 'V', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (3nd gen) */
};
static int __init fan_init(struct ibm_init_struct *iibm)