forked from luck/tmp_suning_uos_patched
75700e53cd
Attempt to preserve fan state across sleep and hibernation if the fan control mode is enabled. For safety reasons, only the PWM OFF (fan at 100%) or maximum closed-loop level (level 7) are preserved. If the fan state was set to anything else, it will not be restored. Also, should the fan be at PWM OFF mode at resume, it will be left at that state (but this is extremely unlikely, no ThinkPad firmware was ever reported to do this). For reference, the known states used for fan control upon resume by the firmware are either "auto" or "level 7" depending on whether the laptop wakes due to normal conditions or a thermal emergency. Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=11331 Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Richard Hartmann <richih.mailinglist@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
hdpuftrs | ||
ibmasm | ||
sgi-gru | ||
sgi-xp | ||
acer-wmi.c | ||
asus-laptop.c | ||
atmel_pwm.c | ||
atmel_tclib.c | ||
atmel-ssc.c | ||
compal-laptop.c | ||
eeepc-laptop.c | ||
eeprom_93cx6.c | ||
enclosure.c | ||
fujitsu-laptop.c | ||
hp-wmi.c | ||
hpilo.c | ||
hpilo.h | ||
intel_menlow.c | ||
ioc4.c | ||
Kconfig | ||
kgdbts.c | ||
lkdtm.c | ||
Makefile | ||
msi-laptop.c | ||
phantom.c | ||
sony-laptop.c | ||
tc1100-wmi.c | ||
thinkpad_acpi.c | ||
tifm_7xx1.c | ||
tifm_core.c |