linux/drivers/platform
Luke D. Jones 601eb4c8e1 platform/x86: asus-wmi: Modify behaviour of Fn+F5 fan key
Some more recent TUF laptops have both fan_boost and thermal_throttle.
The key code for Fn+F5 is also different and unmapped.

This patch adjusts the asus_wmi_handle_event_code() match to match
for both 0x99 and 0xAE, and run both mode switch functions for
fan_boost and/or thermal_throttle if either are available.

It is required that both are tried, as in some instances the ACPI
set-method for one may not have any code body within it even though
it was returned as supported by the get method.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220826004210.356534-2-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-08-26 11:35:19 +02:00
..
chrome platform/chrome: cros_kunit_util: add default value for msg->result 2022-07-21 08:49:28 +00:00
goldfish platform: goldfish: pipe: Use platform_get_irq() to get the interrupt 2022-03-18 13:55:21 +01:00
mellanox virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
mips MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error. 2022-06-09 22:24:19 +02:00
olpc platform/olpc: Fix uninitialized data in debugfs write 2022-07-28 20:40:15 +02:00
surface platform/surface: aggregator_registry: Add HID devices for sensors and UCSI client to SP8 2022-08-25 16:23:53 +02:00
x86 platform/x86: asus-wmi: Modify behaviour of Fn+F5 fan key 2022-08-26 11:35:19 +02:00
Kconfig platform/x86: Kconfig: Remove unnecessary "if X86" 2022-06-27 09:37:49 +02:00
Makefile platform: Add Surface platform directory 2020-10-27 12:51:03 +01:00