diff options
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index f824259fa611..b85f0960e608 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -2888,9 +2888,10 @@ static ssize_t fan_pwm1_store(struct device *dev, | |||
2888 | if (!rc && (status & | 2888 | if (!rc && (status & |
2889 | (TP_EC_FAN_AUTO | TP_EC_FAN_FULLSPEED)) == 0) { | 2889 | (TP_EC_FAN_AUTO | TP_EC_FAN_FULLSPEED)) == 0) { |
2890 | rc = fan_set_level(newlevel); | 2890 | rc = fan_set_level(newlevel); |
2891 | if (!rc) | 2891 | if (!rc) { |
2892 | fan_update_desired_level(newlevel); | 2892 | fan_update_desired_level(newlevel); |
2893 | fan_watchdog_reset(); | 2893 | fan_watchdog_reset(); |
2894 | } | ||
2894 | } | 2895 | } |
2895 | 2896 | ||
2896 | mutex_unlock(&fan_mutex); | 2897 | mutex_unlock(&fan_mutex); |