-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
projects/Qualcomm/patches/linux/SM8550/9997-set-boot-fanspeed.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -rupbN linux.orig/drivers/hwmon/pwm-fan.c linux/drivers/hwmon/pwm-fan.c | ||
--- linux.orig/drivers/hwmon/pwm-fan.c 2024-10-19 13:35:29.516991617 +0000 | ||
+++ linux/drivers/hwmon/pwm-fan.c 2024-11-18 15:41:47.343729846 +0000 | ||
@@ -530,7 +530,7 @@ static int pwm_fan_probe(struct platform | ||
* 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, MAX_PWM); | ||
+ ret = set_pwm(ctx, 70); | ||
if (ret) { | ||
dev_err(dev, "Failed to configure PWM: %d\n", ret); | ||
return ret; |