]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-wmi: Add quirk wmi_ignore_fan
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 21 Dec 2022 17:59:49 +0000 (17:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:33 +0000 (08:34 +0100)
commit7df517612c594d74f4313763963dd107e9e448cd
tree7ae703d3bc756e8d1793e88e895e4d161deaaaf2
parent04174b3b8469c7f3fee649a9082b3c474b8f6196
platform/x86: asus-wmi: Add quirk wmi_ignore_fan

[ Upstream commit c874b6de4cdfa2822a07b479887cd5f87fb5d078 ]

Some laptops have a fan device listed in their ACPI tables but do not
actually contain a fan.
Introduce a quirk that can be used to override the fan detection logic.

This was observed with a ASUS VivoBook E410MA running firmware
E410MAB.304.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20221221-asus-fan-v1-1-e07f3949725b@weissschuh.net
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/asus-wmi.c
drivers/platform/x86/asus-wmi.h