aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/wmi.c
diff options
context:
space:
mode:
authorLuke D. Jones <luke@ljones.dev>2022-08-28 19:46:38 +1200
committerHans de Goede <hdegoede@redhat.com>2022-09-01 16:58:51 +0200
commita2bdf10ce96efbccabdad7216db5587c1213996c (patch)
tree5099d6e4c6772412b84d589b97c475e0dc9a51f2 /drivers/platform/x86/wmi.c
parentplatform/x86: dell-wmi: Add WMI event 0x0012 0x0003 to the list (diff)
downloadlinux-dev-a2bdf10ce96efbccabdad7216db5587c1213996c.tar.xz
linux-dev-a2bdf10ce96efbccabdad7216db5587c1213996c.zip
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/platform/x86/wmi.c')
0 files changed, 0 insertions, 0 deletions