On Wed, Sep 11, 2013 at 01:58:10AM +0200, Luka Perkov wrote:
> From: Tim Harvey <[email protected]>
> 
> In case of busy i2c try again to get ACK.
> 
> Signed-off-by: Tim Harvey <[email protected]>
> Tested-by: Luka Perkov <[email protected]>

-EAGAIN is for lost arbitration (see Documentation/i2c/fault-codes).
In that case, the core will try again. NACK needs to be reported, so the
caller can decide what to do in that case. -ENXIO would be the best
response here.

Attachment: signature.asc
Description: Digital signature

Reply via email to