diff options
author | Ed Swierk <eswierk@skyportsystems.com> | 2017-07-19 17:44:40 -0700 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2017-08-15 14:32:58 +0800 |
commit | 595536e0b2475a9eac23709cd461143178c12e0e (patch) | |
tree | e7a5b374e55453cfe0cf98b4264052c1f482d609 /scripts/coccinelle | |
parent | 38e44da591303d08b0d965a033e11ade284999d0 (diff) |
thermal: intel_pch_thermal: Fix enable check on Broadwell-DE
Using the TSDSS flag to determine whether the thermal sensor is
enabled is problematic. Broadwell-DE (Xeon D-1500) does not support
dynamic shutdown and the TSDSS flag always reads 0 (contrary to the
current datasheet). Even on hardware supporting dynamic shutdown, the
driver does nothing to configure it, and the dynamic shutdown state
should not prevent the driver from loading. The ETS flag itself
indicates whether the thermal sensor is enabled, so use it instead of
the TSDSS flag on all hardware platforms.
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 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions