diff options
author | Paul Cercueil <paul@crapouillou.net> | 2023-01-29 13:04:40 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-09 23:37:59 +0100 |
commit | d644b133f78d6d8efd36f7b1703bebca09036f0b (patch) | |
tree | 253c0143ea103a39d2d72dcf19199aec47727f58 /Kconfig | |
parent | dt-bindings: rtc: Add #clock-cells property (diff) | |
download | linux-d644b133f78d6d8efd36f7b1703bebca09036f0b.tar.xz linux-d644b133f78d6d8efd36f7b1703bebca09036f0b.zip |
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 <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20230129120442.22858-3-paul@crapouillou.net
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions