thermal: core: ignore invalid trip temperature
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 12 Nov 2014 23:43:29 +0000 (15:43 -0800)
committerZhang Rui <rui.zhang@intel.com>
Mon, 8 Dec 2014 03:51:46 +0000 (11:51 +0800)
commit84ffe3ecc2c8b3effc41c0babd2cc24f1edb2aab
tree6bc2af15d65ac66d08fcf9dcd240b69b06c15f86
parent009d0431c3914de64666bec0d350e54fdd59df6a
thermal: core: ignore invalid trip temperature

Ignore invalid trip temperature less or equal to zero. Some
buggy systems have invalid trips, causing system shutdown.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c