summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm63.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-11-20 19:25:17 +0100
committerGuenter Roeck <linux@roeck-us.net>2014-01-15 06:36:52 +0100
commitbf6ea084ebb54cf8e1d6e60aac3c727cf45bf6c7 (patch)
tree2a2feafbbaae6a0c5000bd217eb6e9327753af70 /drivers/hwmon/lm63.c
parenthwmon: (da9052) Fix adc to voltage calculation (diff)
downloadlinux-bf6ea084ebb54cf8e1d6e60aac3c727cf45bf6c7.tar.xz
linux-bf6ea084ebb54cf8e1d6e60aac3c727cf45bf6c7.zip
hwmon: (coretemp) Do not return -EAGAIN for low temperatures
Some Intel CPUs do not set the 'valid' bit in IA32_THERM_STATUS if the temperature is too low to be measured. This condition will not change until the CPU is hot enough for its temperature to be measured. Returning an error in such conditions is not very useful. Drop checking the valid bit and just return the reported temperature instead. Reviewed-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions