summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/asus-wmi.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2022-12-21 18:59:49 +0100
committerHans de Goede <hdegoede@redhat.com>2023-01-12 19:35:51 +0100
commitc874b6de4cdfa2822a07b479887cd5f87fb5d078 (patch)
treef91fd89704d1cde9f95f94d79c3689a1991edc58 /drivers/platform/x86/asus-wmi.h
parentplatform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK (diff)
downloadlinux-c874b6de4cdfa2822a07b479887cd5f87fb5d078.tar.xz
linux-c874b6de4cdfa2822a07b479887cd5f87fb5d078.zip
platform/x86: asus-wmi: Add quirk wmi_ignore_fan
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>
Diffstat (limited to 'drivers/platform/x86/asus-wmi.h')
-rw-r--r--drivers/platform/x86/asus-wmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-wmi.h b/drivers/platform/x86/asus-wmi.h
index 65316998b898..a478ebfd34df 100644
--- a/drivers/platform/x86/asus-wmi.h
+++ b/drivers/platform/x86/asus-wmi.h
@@ -38,6 +38,7 @@ struct quirk_entry {
bool store_backlight_power;
bool wmi_backlight_set_devstate;
bool wmi_force_als_set;
+ bool wmi_ignore_fan;
enum asus_wmi_tablet_switch_mode tablet_switch_mode;
int wapf;
/*