Re: [PATCH V4 2/9] i2c: xiic: Fix Rx and Tx paths in standard mode

From: Wolfram Sang
Date: Fri Feb 03 2023 - 11:35:55 EST


On Thu, Feb 02, 2023 at 03:11:31PM +0530, Manikanta Guntupalli wrote:
> From: Raviteja Narayanam <raviteja.narayanam@xxxxxxxxxx>
>
> repeated start
>
> When a combined message request comes from user space, the
> controller has to initiate repeated start sequence. In standard
> mode, this repeated start sequence is corrupted if there is still
> data in the Tx FIFO.
>
> So, always make sure that all the bytes are completely transmitted
> out of the FIFO by waiting for TXEMPTY, if the previous message is
> of Tx type.
>
> Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xxxxxxxxxx>
> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@xxxxxxx>
> Acked-by: Michal Simek <michal.simek@xxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature