Skip to content
Commit ecf1cf1c authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Guenter Roeck
Browse files

hwmon: (pwm-fan) Default to the Maximum cooling level if provided



The pwm-fan driver uses full PWM (255) duty cycle at startup, which may not
always be desirable because of noise or power consumption peaks.

The driver optionally accept a list of "cooling-levels" for the thermal
subsystem.  If provided, use the PWM value corresponding to the maximum
cooling level rather than the full level as the initial PWM setting.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
Link: https://lore.kernel.org/r/20250113135118.3994998-1-peter@korsgaard.com


[groeck: Dropped double empty line]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 74a2594a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment