aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/wmi.c
diff options
context:
space:
mode:
authorLuke D. Jones <[email protected]>2023-08-15 01:42:09 +0000
committerHans de Goede <[email protected]>2023-08-21 13:30:19 +0000
commitfa69653f87ee3d64cfbe0c1b8190214d71745edc (patch)
tree3a8b0f581038aa74737b965bc2fe1953fe1242e6 /drivers/platform/x86/wmi.c
parentplatform/x86/amd/pmf: Use str_on_off() helper (diff)
downloadkernel-fa69653f87ee3d64cfbe0c1b8190214d71745edc.tar.gz
kernel-fa69653f87ee3d64cfbe0c1b8190214d71745edc.zip
platform/x86: asus-wmi: Fix support for showing middle fan RPM
After the addition of the mid fan custom curve functionality various incorrect behaviour was uncovered. This commit fixes these areas. - Ensure mid fan attributes actually use the correct fan ID - Correction to a bit mask for selecting the correct fan data - Refactor the curve show/store functions to be cleaner and match each others layout Fixes: 536fce82d729 ("platform/x86: asus-wmi: add support for showing middle fan RPM") Signed-off-by: Luke D. Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/wmi.c')
0 files changed, 0 insertions, 0 deletions