diff options
author | Jelle van der Waa <jvanderwaa@redhat.com> | 2022-10-19 21:47:51 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-10-24 11:24:08 +0200 |
commit | a10d50983f7befe85acf95ea7dbf6ba9187c2d70 (patch) | |
tree | 868e4782b7be6032d7616dac87abfb1aaf6b7349 /kernel/kexec_internal.h | |
parent | 36abde8d24ad740371422a7678ca92b06cc8a3d5 (diff) | |
download | linux-a10d50983f7befe85acf95ea7dbf6ba9187c2d70.tar.bz2 |
platform/x86: thinkpad_acpi: Fix reporting a non present second fan on some models
thinkpad_acpi was reporting 2 fans on a ThinkPad T14s gen 1, even though
the laptop has only 1 fan.
The second, not present fan always reads 65535 (-1 in 16 bit signed),
ignore fans which report 65535 to avoid reporting the non present fan.
Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
Link: https://lore.kernel.org/r/20221019194751.5392-1-jvanderwaa@redhat.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'kernel/kexec_internal.h')
0 files changed, 0 insertions, 0 deletions