]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state
authorFlorin Leotescu <florin.leotescu@nxp.com>
Tue, 3 Jun 2025 11:31:25 +0000 (14:31 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jul 2025 23:38:34 +0000 (16:38 -0700)
commit0429415a084a15466e87d504e8c2a502488184a5
tree4637fb294b00210a56423fb27ed1bcb84b9ae136
parentef8b1b4eb702cdd56807c0430b511f94b2af8e66
hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state

Prevent the PWM value from being set to minimum when thermal zone
temperature exceeds any trip point during driver probe. Otherwise, the
PWM fan speed will remains at minimum speed and not respond to
temperature changes.

Signed-off-by: Florin Leotescu <florin.leotescu@nxp.com>
Link: https://lore.kernel.org/r/20250603113125.3175103-5-florin.leotescu@oss.nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/emc2305.c