]> Pileus Git - ~andy/linux/commit
thermal: ti-soc-thermal: freeze FSM while computing trend
authorEduardo Valentin <eduardo.valentin@ti.com>
Fri, 7 Jun 2013 19:13:13 +0000 (19:13 +0000)
committerZhang Rui <rui.zhang@intel.com>
Thu, 13 Jun 2013 02:13:52 +0000 (10:13 +0800)
commitba0049eacc59831f4018060dc30fb7c818421a75
treed347e21bde9940c3e1cd593d575846762e665bd0
parent359836e1de4d32a647bf2c1f99d84d2ff0a098bd
thermal: ti-soc-thermal: freeze FSM while computing trend

In order to read the history buffer, it is required to
freeze BG FSM. This patch adds the missing piece of code
to freeze the FSM and also a contention area to avoid
other parts of the code to access the DTEMPs.

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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/ti-soc-thermal/ti-bandgap.c