diff options
author | Paul Cercueil <[email protected]> | 2023-01-29 12:04:40 +0000 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-02-09 23:37:59 +0100 |
commit | d644b133f78d6d8efd36f7b1703bebca09036f0b (patch) | |
tree | 253c0143ea103a39d2d72dcf19199aec47727f58 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4737a703528c769c4fde6b68462f656f91f4ad99 (diff) |
rtc: jz4740: Use readl_poll_timeout
Use readl_poll_timeout() from <iopoll.h> instead of using custom poll
loops.
The timeout settings are different, but that shouldn't be much of a
problem. Instead of polling 10000 times in a close loop, it polls for
one millisecond.
Signed-off-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions