a00d47f764
Use readl_poll_timeout_atomic() instead of open-coding the same operation. 1. rmobile_pd_power_down(): as typically less than 20 retries are needed, PSTR_RETRIES (100) µs is a suitable timeout value. 2. __rmobile_pd_power_up(): the old method of first polling some cycles with a 1 µs delay, followed by more polling cycles without any delay didn't make much sense, as the latter was insignificant compared to the former. Furthermore, typically no retries are needed. Hence just retain the polling with delay. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/ae4bf03ab8fd5a557c683086958d6764babc0723.1685692810.git.geert+renesas@glider.be |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pwc-rzv2m.c | ||
r8a774a1-sysc.c | ||
r8a774b1-sysc.c | ||
r8a774c0-sysc.c | ||
r8a774e1-sysc.c | ||
r8a779a0-sysc.c | ||
r8a779f0-sysc.c | ||
r8a779g0-sysc.c | ||
r8a7742-sysc.c | ||
r8a7743-sysc.c | ||
r8a7745-sysc.c | ||
r8a7779-sysc.c | ||
r8a7790-sysc.c | ||
r8a7791-sysc.c | ||
r8a7792-sysc.c | ||
r8a7794-sysc.c | ||
r8a7795-sysc.c | ||
r8a7796-sysc.c | ||
r8a77470-sysc.c | ||
r8a77965-sysc.c | ||
r8a77970-sysc.c | ||
r8a77980-sysc.c | ||
r8a77990-sysc.c | ||
r8a77995-sysc.c | ||
r9a06g032-smp.c | ||
rcar-gen4-sysc.c | ||
rcar-gen4-sysc.h | ||
rcar-rst.c | ||
rcar-sysc.c | ||
rcar-sysc.h | ||
renesas-soc.c | ||
rmobile-sysc.c |