summaryrefslogtreecommitdiffstats
path: root/kernel/watchdog.c
diff options
context:
space:
mode:
authorJelle van der Waa <jvanderwaa@redhat.com>2022-10-19 21:47:51 +0200
committerHans de Goede <hdegoede@redhat.com>2022-10-24 11:24:08 +0200
commita10d50983f7befe85acf95ea7dbf6ba9187c2d70 (patch)
tree868e4782b7be6032d7616dac87abfb1aaf6b7349 /kernel/watchdog.c
parent36abde8d24ad740371422a7678ca92b06cc8a3d5 (diff)
downloadlinux-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/watchdog.c')
0 files changed, 0 insertions, 0 deletions