]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: thermal: allow ti-soc-thermal run without pcb zone
authorEduardo Valentin <eduardo.valentin@ti.com>
Sun, 15 Sep 2013 19:21:51 +0000 (15:21 -0400)
committerEduardo Valentin <eduardo.valentin@ti.com>
Tue, 15 Oct 2013 14:10:43 +0000 (10:10 -0400)
commit0e19560ccec1918cb88c8c03eee22ec4dc44b525
treeaae79ba432478c088d52c4697cc0a26e08ff7c34
parenta510c60138a5cd0b1fc75819484b31b77be409b9
drivers: thermal: allow ti-soc-thermal run without pcb zone

This patch changes the behavior of TI SoC thermal driver
when there is a PCB thermal zone.

Instead of reporting an error code when reading from
PCB temperature sensor fails, this patch will make
the driver attempt to compose the hotspot extrapolation
based on bandgap readings only.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/ti-soc-thermal/ti-thermal-common.c