diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2022-12-21 17:59:51 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-01-12 19:36:06 +0100 |
commit | 01fd7e7851ba2275662f771ee17d1f80e7bbfa52 (patch) | |
tree | 72f941891ec69cf1c1e34413f6b44dae44683880 /include/linux/fpga/fpga-mgr.h | |
parent | 82cc5c6c624c63f7b57214e325e2ea685d924e89 (diff) |
platform/x86: asus-wmi: Don't load fan curves without fan
If we do not have a fan it does not make sense to load curves for it.
This removes the following warnings from the kernel log:
asus_wmi: fan_curve_get_factory_default (0x00110024) failed: -19
asus_wmi: fan_curve_get_factory_default (0x00110025) failed: -19
Fixes: a2bdf10ce96e ("platform/x86: asus-wmi: Increase FAN_CURVE_BUF_LEN to 32")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20221221-asus-fan-v1-3-e07f3949725b@weissschuh.net
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions