On Wed, Sep 11, 2013 at 01:58:10AM +0200, Luka Perkov wrote: > From: Tim Harvey <tharvey@xxxxxxxxxxxxx> > > In case of busy i2c try again to get ACK. > > Signed-off-by: Tim Harvey <tharvey@xxxxxxxxxxxxx> > Tested-by: Luka Perkov <luka@xxxxxxxxxxx> -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