hwmon: (coretemp) Further relax temperature range checks
authorGuenter Roeck <guenter.roeck@ericsson.com>
Wed, 1 Jun 2011 18:03:41 +0000 (11:03 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 2 Jun 2011 03:10:40 +0000 (20:10 -0700)
commitbb9973e4e73f43bd86698483d0c3f7a362ff94ce
tree2595ca9c4a1dad5c12ad21947bf07bccb9c32a4c
parent4f5f71a7abe329bdad81ee6a8e4545054a7cc30a
hwmon: (coretemp) Further relax temperature range checks

Further relax temperature range checks after reading the IA32_TEMPERATURE_TARGET
register. If the register returns a value other than 0 in bits 16..32, assume
that the returned value is correct.

This change applies to both packet and core temperature limits.

Cc: Carsten Emde <C.Emde@osadl.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
drivers/hwmon/coretemp.c