On 9/27/24 17:28, Jon Hunter wrote:
On 25/09/2024 14:40, Thierry Reding wrote:
All in all, I wonder if we wouldn't be better off increasing these
delays to the point where we can use usleep_range(). That will make
the overall lane bringup slightly longer (though it should still be well
below 1ms, so hardly noticeable from a user's perspective) but has the
benefit of not blocking the CPU during this time.
Yes we can certainly increase the delay and use usleep_range() as you
prefer. Let us know what you would recommend here.
Use of usleep_range() would be definitely preferrable.
Additionally, please replace c99 comments '// ...' with ansi ones:
'/* ... */'
Thanks,
Paolo