Thermal: update thermal zone device after setting emul_temp
authorlan,Tianyu <tianyu.lan@intel.com>
Thu, 2 Jan 2014 07:47:54 +0000 (15:47 +0800)
committerAlex Shi <alex.shi@linaro.org>
Thu, 25 Sep 2014 09:14:14 +0000 (17:14 +0800)
commit3a68305f1f92040bc57d6ea94bedde1b694d0356
treea478c29e57427328f66dee4d926cd90818953c79
parentfca2d1a60af983180816385fc8238ce818cb72c3
Thermal: update thermal zone device after setting emul_temp

This patch is to update thermal zone device after setting emul_temp
in order to make governor work according to input temperature immediately.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
(cherry picked from commit 800744bf31df54b0cd4d1104ccfa426d3f578f0e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
drivers/thermal/thermal_core.c