Files
pmaports-rtwo/device/testing/linux-ayn-odin-3/disable-fan-on-boot.patch
T

16 lines
578 B
Diff

too loud, keep it passive until we control fan from userspace
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c
index 37269db2de84..f804fce2033c 100644
--- a/drivers/hwmon/pwm-fan.c
+++ b/drivers/hwmon/pwm-fan.c
@@ -566,7 +566,7 @@ static int pwm_fan_probe(struct platform_device *pdev)
* Set duty cycle to maximum allowed and enable PWM output as well as
* the regulator. In case of error nothing is changed
*/
- ret = set_pwm(ctx, initial_pwm);
+ ret = set_pwm(ctx, 0);
if (ret) {
dev_err(dev, "Failed to configure PWM: %d\n", ret);
return ret;