Re: [PATCH v3 1/2] platform/x86: thinkpad_acpi: Add helper to read fan RPM registers
From: Ilpo Järvinen
Date: Fri Dec 04 2026 - 13:43:25 EST
On Fri, 04 Dec 2026 20:54:28 +0900, Vishnu Sankar wrote:
> fan_get_speed() and fan2_get_speed() both open-code reading the 16-bit
> fan RPM value from an EC register pair. Move this into a fan_read_rpm()
> helper that takes the register offset, so the following change can add
> another register pair and a different read method in one place.
>
> No functional change intended.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/2] platform/x86: thinkpad_acpi: Add helper to read fan RPM registers
commit: 9d5a71c29d7bcd302d9b39aa8fb9e157df15935c
[2/2] platform/x86: thinkpad_acpi: Fix fan speed reporting on X9 Gen 1
commit: 94f56401ac6e9316708574c40d5b87ee125459b7
--
i.