From: Guenter Roeck Date: Wed, 20 Nov 2013 18:25:17 +0000 (-0800) Subject: hwmon: (coretemp) Do not return -EAGAIN for low temperatures X-Git-Tag: v3.14-rc1~179^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf6ea084ebb54cf8e1d6e60aac3c727cf45bf6c7;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed