aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2018-04-16 12:11:52 +0200
committerEduardo Valentin <[email protected]>2018-04-27 06:17:30 -0700
commit88fc6f73fddf64eb507b04f7b2bd01d7291db514 (patch)
treecd81900d41dddba5ec2186798c1d02fdb3251a60 /tools/perf/util/scripting-engines/trace-event-python.c
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
thermal: exynos: Reading temperature makes sense only when TMU is turned on
When thermal sensor is not yet enabled, reading temperature might return random value. This might even result in stopping system booting when such temperature is higher than the critical value. Fix this by checking if TMU has been actually enabled before reading the temperature. This change fixes booting of Exynos4210-based board with TMU enabled (for example Samsung Trats board), which was broken since v4.4 kernel release. Signed-off-by: Marek Szyprowski <[email protected]> Fixes: 9e4249b40340 ("thermal: exynos: Fix first temperature read after registering sensor") CC: [email protected] # v4.6+ Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions