summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@free-electrons.com>2017-12-22 17:14:12 +0100
committerEduardo Valentin <edubezval@gmail.com>2018-01-01 13:25:19 -0800
commit64163681a25e00182f727caa3a57ffe8d70f1022 (patch)
tree9775cb18fdacc6fd65e2d309fe94c3fa65dae5d0 /tools/perf/scripts/python
parent8c0b888f6610d0ebbc4bdfb52d2fef9f4a11adfc (diff)
thermal: armada: Wait sensors validity before exiting the init callback
The thermal core will check for sensors validity right after the initialization callback has returned. As the initialization routine make a reset, the sensors are not ready immediately and the core spawns an error in the dmesg. Avoid this annoying situation by polling on the validity bit before exiting from these routines. This also avoid the use of blind sleeps. Suggested-by: David Sniatkiwicz <davidsn@marvell.com> Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions