Re: [PATCH v6] i2c: cadence: Check for errata condition involving master receive

From: Wolfram Sang
Date: Wed Jan 14 2015 - 05:37:35 EST


On Wed, Jan 14, 2015 at 12:04:59AM +0530, Harini Katakam wrote:
> Cadence I2C controller has the following bugs:
> - completion indication is not given to the driver at the end of
> a read/receive transfer with HOLD bit set.
> - Invalid read transaction are generated on the bus when HW timeout
> condition occurs with HOLD bit set.
>
> As a result of the above, if a set of messages to be transferred with
> repeated start includes any message following a read message,
> completion is never indicated and timeout occurs.
> Hence a check is implemented to return -EOPNOTSUPP for such sequences.
>
> Signed-off-by: Harini Katakam <harinik@xxxxxxxxxx>
> Signed-off-by: Vishnu Motghare <vishnum@xxxxxxxxxx>

Applied to for-next with some whitespace corrections, thanks!

Attachment: signature.asc
Description: Digital signature