]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
platform/x86: thinkpad_acpi: Whitelist P15 firmware for dual fan control
authorMatthias Maier <tamiko@43-1.org>
Thu, 26 Nov 2020 00:04:16 +0000 (18:04 -0600)
committerHans de Goede <hdegoede@redhat.com>
Thu, 26 Nov 2020 14:45:40 +0000 (15:45 +0100)
This commit enables dual fan control for the following new Lenovo
models: P15, P15v.

Signed-off-by: Matthias Maier <tamiko@43-1.org>
Link: https://lore.kernel.org/r/20201126000416.2459645-2-tamiko-ibm-acpi-devel@43-1.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c

index 0778458ead837d9b197bab82d39fe46b908e4893..c404706379d92afcf8fdc80d144e45be20daf427 100644 (file)
@@ -8785,6 +8785,7 @@ static const struct tpacpi_quirk fan_quirk_table[] __initconst = {
        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) */
+       TPACPI_Q_LNV3('N', '3', '0', TPACPI_FAN_2CTL),  /* P15 (1st gen) / P15v (1st gen) */
 };
 
 static int __init fan_init(struct ibm_init_struct *iibm)