Commit 03699c24d1ca for kernel
commit 03699c24d1ca308e117c5500dc4360b884719412
Author: Navon John Lukose <navonjohnlukose@gmail.com>
Date: Mon Sep 14 03:17:13 2026 +0530
hwmon: (yogafan) Fix fan paths for Yoga Pro 7 14IAH10
The Yoga Pro 7 14IAH10 entry names \_SB.PC00.LPCB.EC0.FANS, which this
machine's DSDT does not have, so probe matches on DMI, fails to resolve the
path and returns -ENODEV. The EC exposes its two fan tachometers as FA1S
and FA2S, and loq_15iax9_8bit_dual_cfg already describes that layout. Point
the entry at it, and update the reference table row to match.
Fixes: 9c110a467686 ("hwmon: (yogafan) Add support for new Lenovo models")
Cc: stable@vger.kernel.org
Signed-off-by: Navon John Lukose <navonjohnlukose@gmail.com>
Link: https://patch.msgid.link/20260913214713.205208-1-navonjohnlukose@gmail.com
Acked-by: Sergio Melas <sergiomelas@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
diff --git a/Documentation/hwmon/yogafan.rst b/Documentation/hwmon/yogafan.rst
index 239c7b5761ca..57d528cdd6f4 100644
--- a/Documentation/hwmon/yogafan.rst
+++ b/Documentation/hwmon/yogafan.rst
@@ -105,7 +105,8 @@ immediately to ensure the user knows the fan has stopped.
83KF | XiaoXinPro 13ARE | 0x06/0xFE | \_SB.PCI0.LPC0.EC0.FANS/FA2S | 8-bit | 100
82KU | IdeaPad 3 15ALC6 | 0x06 | \_SB.PCI0.LPC0.EC0.FAN0 | 8-bit | 100
83RU | Legion Pro 7 16 | 0x03/0x06 | \_SB.PCI0.LPC0.EC0.FANS/FA2S | 8-bit | 100
- 83KF | Yoga Pro 7 14IAH | 0x06 | \_SB.PC00.LPCB.EC0.FANS | 8-bit | 100
+ 83KF | Yoga Pro 7 14IAH | 0x104 | \_SB.PC00.LPCB.EC0.FA1S (Fan1) | 8-bit | 100
+ 83KF | Yoga Pro 7 14IAH | 0x137 | \_SB.PC00.LPCB.EC0.FA2S (Fan2) | 8-bit | 100
83BS | Yoga 7 16ARP8 | 0x03/0x06 | \_SB.PCI0.LPC0.EC0.FANS/FA2S | 8-bit | 100
*Legacy* | Pre-2020 Models | 0x06 | \_SB.PCI0.LPC.EC.FAN0 | 8-bit | 100
-------------------------------------------------------------------------------------------------------
diff --git a/drivers/hwmon/yogafan.c b/drivers/hwmon/yogafan.c
index 6d1284c09048..285bc7184352 100644
--- a/drivers/hwmon/yogafan.c
+++ b/drivers/hwmon/yogafan.c
@@ -89,12 +89,6 @@ static const struct yogafan_config xiaoxin_8bit_dual_cfg = {
.paths = { "\\_SB.PCI0.LPC0.EC0.FANS", "\\_SB.PCI0.LPC0.EC0.FA2S" }
};
-static const struct yogafan_config yoga_pro_7_14iah10_cfg = {
- .multiplier = 100,
- .fan_count = 1,
- .paths = { "\\_SB.PC00.LPCB.EC0.FANS", NULL }
-};
-
/*
* Lenovo Yoga Pro 9 16IMH9 (83DN) uses the PC00 namespace and has two
* 8-bit fan tachometer fields.
@@ -267,7 +261,7 @@ static const struct dmi_system_id yogafan_quirks[] = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_FAMILY, "Yoga Pro 7 14IAH10"),
},
- .driver_data = (void *)&yoga_pro_7_14iah10_cfg,
+ .driver_data = (void *)&loq_15iax9_8bit_dual_cfg,
},
{
.ident = "Lenovo Yoga 7 16ARP8",