thermal: update read sensor times for performance [1/1]
authorHuan Biao <huan.biao@amlogic.com>
Fri, 5 Jul 2019 05:43:23 +0000 (13:43 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 9 Jul 2019 09:52:15 +0000 (02:52 -0700)
commit135498c51c0a40b65520f48f522888ddcbdfe37f
tree9b3ee9dcde16d62e1b052d2ccea7329db4a8e65b
parent496d72c593009a831479f7d16dddbe1d9d9a1d39
thermal: update read sensor times for performance [1/1]

PD#SWPL-10836

Problem:
read sensor time too long

Solution:
read sensor once

Verify:
verified on t1 t962x2 x301

Change-Id: Iddf4c903ba8a3836666943adb5c02c5d287728df
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
drivers/amlogic/thermal/meson_tsensor.c