From: Eduardo Valentin Date: Wed, 29 May 2013 21:37:00 +0000 (+0000) Subject: thermal: consider emul_temperature while computing trend X-Git-Tag: v3.11-rc1~27^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c872507d84a6193cd769a808e65d34e1514b083;p=pandora-kernel.git thermal: consider emul_temperature while computing trend In case emulated temperature is in use, using the trend provided by driver layer can lead to bogus situation. In this case, debugger user would set a temperature value, but the trend would be from driver computation. To avoid this situation, this patch changes the get_tz_trend() to consider the emulated temperature whenever that is in use. Cc: Zhang Rui Cc: Amit Daniel Kachhap Cc: Durgadoss R Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- Reading git-diff-tree failed