Skip to content
Snippets Groups Projects
Commit 1be765b2 authored by Vishnu Sankar's avatar Vishnu Sankar Committed by Hans de Goede
Browse files

platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed


Fix for Thinkpad's with ECFW showing incorrect fan speed. Some models use
decimal instead of hexadecimal for the speed stored in the EC registers.
For example the rpm register will have 0x4200 instead of 0x1068, here
the actual RPM is "4200" in decimal.

Add a quirk to handle this.

Signed-off-by: default avatarVishnu Sankar <vishnuocv@gmail.com>
Suggested-by: default avatarMark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20241105235505.8493-1-vishnuocv@gmail.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 36e66be8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment