hwmon: (pwm-fan) set usage_power on PWM state
authorLorenz Brun <lorenz@brun.one>
Thu, 9 Mar 2023 01:10:08 +0000 (02:10 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:33 +0000 (07:08 -0700)
commita7da8a8bf19b758d6db50a1c09627b0422fe98db
tree95a9b953c69ba73d93c6a54da2624404bb277aab
parentdedbe4c1499cf1b7b0357872cf858221f583bfc0
hwmon: (pwm-fan) set usage_power on PWM state

PWM fans are controlled solely by the duty cycle of the PWM signal, they
do not care about the exact timing. Thus set usage_power to true to
allow less flexible hardware to work as a PWM source for fan control.

Signed-off-by: Lorenz Brun <lorenz@brun.one>
Link: https://lore.kernel.org/r/20230309011009.2109696-1-lorenz@brun.one
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c