diff options
author | Luke D. Jones <luke@ljones.dev> | 2022-08-28 19:46:38 +1200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-09-01 17:51:34 +0200 |
commit | 5542dfc582f4a925f67bbfaf8f62ca83506032ae (patch) | |
tree | c73f414a4d906e5e45856fa8a27f02722ecebb6b /drivers/hwmon/emc1403.c | |
parent | 791ae8e8960efbf2e331eae7110db65b4f9f9083 (diff) |
platform/x86: asus-wmi: Increase FAN_CURVE_BUF_LEN to 32
Fix for TUF laptops returning with an -ENOSPC on calling
asus_wmi_evaluate_method_buf() when fetching default curves. The TUF method
requires at least 32 bytes space.
This also moves and changes the pr_debug() in fan_curve_check_present() to
pr_warn() in fan_curve_get_factory_default() so that there is at least some
indication in logs of why it fails.
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220828074638.5473-1-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/hwmon/emc1403.c')
0 files changed, 0 insertions, 0 deletions