aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r--drivers/misc/thinkpad_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 8ef0afc88693..7ba1acad5402 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -4790,7 +4790,7 @@ static int fan_set_level(int level)
4790 * or FULLSPEED mode bits and just ignore them */ 4790 * or FULLSPEED mode bits and just ignore them */
4791 if (level & TP_EC_FAN_FULLSPEED) 4791 if (level & TP_EC_FAN_FULLSPEED)
4792 level |= 7; /* safety min speed 7 */ 4792 level |= 7; /* safety min speed 7 */
4793 else if (level & TP_EC_FAN_FULLSPEED) 4793 else if (level & TP_EC_FAN_AUTO)
4794 level |= 4; /* safety min speed 4 */ 4794 level |= 4; /* safety min speed 4 */
4795 4795
4796 if (!acpi_ec_write(fan_status_offset, level)) 4796 if (!acpi_ec_write(fan_status_offset, level))