diff options
| author | Nicholas Mc Guire <[email protected]> | 2017-01-15 15:18:03 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2017-01-15 15:40:11 -0800 |
| commit | cd4c1b412d4dd094c2ec02be4f0ee41bcc386170 (patch) | |
| tree | 5f86c3937e25bbc3e657ba9870323a84aab5d844 /tools/perf/scripts/python | |
| parent | de901cc31d151c4c855346c29fb61eaf5ffac3ad (diff) | |
Input: cyapa - use time based retry loop
Using counter based retry loops for peripherals results in the delay
being significantly overrun during high-load situations where delay
functions tend to be vary imprecise and overrun there timeouts. So
condition the termination on the actual condition of 2s for the
re-calibration to have been successful.
As this is a very long delay there is no advantage in using
high-resolution timers thus switching this to msleep().
Signed-off-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions