On Mon, 13 Jan 2025 10:02:16 +0300, Alexander Shiyan wrote: > Most bits of the AT91 SR status register are cleared after reading, > so we may lose the status at the end of the wait loop. > Let's use the value already readed to check for "completed" status. > > Applied, thanks! [1/1] i2c: at91: Fix driver for SAMA5D2 SoC https://git.pengutronix.de/cgit/barebox/commit/?id=da9d4089f0d8 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>