diff options
author | Ed Swierk <eswierk@skyportsystems.com> | 2017-07-19 17:47:31 -0700 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2017-08-08 16:59:08 +0800 |
commit | 23c973f59057929118ff3c80834d7d0335842c63 (patch) | |
tree | 81289539a3517589f74b4395b069436a21ad1436 /Documentation | |
parent | a742fc10bd7faafa2023c941e4e2c8c20f28aa8a (diff) | |
download | linux-23c973f59057929118ff3c80834d7d0335842c63.tar.bz2 |
thermal: intel_pch_thermal: Read large temp values correctly
On all supported platforms, the TS Reading (TSR) field in the
Temperature (TEMP) register is 9 bits wide. Values above 0x100 (78
degrees C) are plausible, so don't mask out the topmost bit. And the
register itself is 16 bits wide, so use readw() rather than readl().
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions