forked from luck/tmp_suning_uos_patched
561d9a9694
It's not permitted to unregister a device after devices have been suspended. It causes deadlocks to appear on systems with coretemp hwmon loaded. To avoid this, we can make coretemp_cpu_callback() do nothing if the _FROZEN bit is set in action. Also, in other cases it's generally too late to unregister the coretemp device if the CPU is already dead, so it should be unregistered on CPU_DOWN_PREPARE. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Mark M. Hoffman <mhoffman@lightlink.com> Cc: Jiri Slaby <jirislaby@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
ams | ||
abituguru3.c | ||
abituguru.c | ||
ad7418.c | ||
adm1021.c | ||
adm1025.c | ||
adm1026.c | ||
adm1029.c | ||
adm1031.c | ||
adm9240.c | ||
adt7470.c | ||
applesmc.c | ||
asb100.c | ||
atxp1.c | ||
coretemp.c | ||
dme1737.c | ||
ds1621.c | ||
f71805f.c | ||
f71882fg.c | ||
f75375s.c | ||
fscher.c | ||
fschmd.c | ||
fscpos.c | ||
gl518sm.c | ||
gl520sm.c | ||
hdaps.c | ||
hwmon-vid.c | ||
hwmon.c | ||
i5k_amb.c | ||
ibmpex.c | ||
it87.c | ||
k8temp.c | ||
Kconfig | ||
lm63.c | ||
lm70.c | ||
lm75.c | ||
lm75.h | ||
lm77.c | ||
lm78.c | ||
lm80.c | ||
lm83.c | ||
lm85.c | ||
lm87.c | ||
lm90.c | ||
lm92.c | ||
lm93.c | ||
Makefile | ||
max1619.c | ||
max6650.c | ||
pc87360.c | ||
pc87427.c | ||
sis5595.c | ||
smsc47b397.c | ||
smsc47m1.c | ||
smsc47m192.c | ||
thmc50.c | ||
via686a.c | ||
vt1211.c | ||
vt8231.c | ||
w83l785ts.c | ||
w83627ehf.c | ||
w83627hf.c | ||
w83781d.c | ||
w83791d.c | ||
w83792d.c | ||
w83793.c |