diff options
author | 2017-01-20 17:54:32 +0100 | |
---|---|---|
committer | 2017-01-31 08:50:30 +0900 | |
commit | 8646dcb8a0def1c1cd4c855e08b17abce0cdc5d1 (patch) | |
tree | 01efae5faec3ce8103da8a5e5907d71912331a62 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/exynos: use atomic helper commit (diff) | |
download | linux-dev-8646dcb8a0def1c1cd4c855e08b17abce0cdc5d1.tar.xz linux-dev-8646dcb8a0def1c1cd4c855e08b17abce0cdc5d1.zip |
drm/exynos: fix a timeout loop
We were trying to print an error message if we timed out here, but the
loop actually ends with "tries" set to UINT_MAX and not zero. Fix this
by changing from tries-- to --tries.
A for loop would actually be the most natural way to do this. My fix
means we only loop 99 times instead of 100 but that's probably ok.
Fixes: a696394c5224 ('drm/exynos: mixer: simplify loop in vp_win_reset()')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions