Re: [PATCH 2/5] rtc: renesas-rtca3: Check RADJ poll result during initial setup

From: Claudiu Beznea

Date: Tue Jun 02 2026 - 04:39:39 EST




On 5/6/26 19:49, Prabhakar wrote:
From: Lad Prabhakar<prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

In rtca3_initial_setup(), the driver clears the RTCA3_RADJ register and
waits for it to reach zero using readb_poll_timeout(). Check the return
value of readb_poll_timeout() and propagate the error if the poll fails.

Signed-off-by: Lad Prabhakar<prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx> # on RZ/G3S