aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-08-12 11:29:38 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2024-08-13 17:01:31 +0200
commitbe280fddfd645ea0ce4c7a26692c3d1115447e32 (patch)
tree49ced2aa32d6e67ef8248b601445359a7747484c /tools/perf/scripts/python/libxed.py
parentb7ecc44a1b0427d8c71fe2e2d46c4a8dd6e6f64d (diff)
drm/ast: astdp: fix loop timeout check
This code has an issue because it loops until "i" is set to UINT_MAX but the test for failure assumes that "i" is set to zero. The result is that it will only print an error message if we succeed on the very last try. Reformat the loop to count forwards instead of backwards. Fixes: 2281475168d2 ("drm/ast: astdp: Perform link training during atomic_enable") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/1ba8da25-2d09-4924-a4ff-c0714bfbb192@stanley.mountain
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions