Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9395>
16 lines
578 B
Diff
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;
|