[U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation

Marek Vasut marex at denx.de
Tue Jun 25 15:15:05 UTC 2019


On 6/25/19 3:30 PM, Melin Tomas wrote:
> Prior to starting a new transfer, conditionally wait for bus to not
> be busy.
> 
> Reinitialise controller as otherwise operation is not stable.
> For reference, see linux kernel commit: 9656eeebf3f1 ("i2c: Revert
> "i2c: xiic: Do not reset controller before every transfer"")
> 
> Signed-off-by: Tomas Melin <tomas.melin at vaisala.com>
> ---
> Changes in v2:
> - Change variable declaration order
> - Change timeout to 3ms

Why 3mS ?

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list