AnsweredAssumed Answered

i2c master transfer randomly fails

Question asked by LukasW on Mar 28, 2013
Latest reply on Mar 29, 2013 by sonic

Hello,

iam porting my uclinux-dist (2010R1) to buildroot. My System includes a kerneldriver that uses i2c communication. In the new buildroot ive noticed randomly occuring transfer errors, bfin_twi_do_master_xfer() returns -1 (and its not a timeout). I found that this is due to this change: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=9c8f4a29786bcc805f53bb1626915f6671ddb01b

What is the reason for this change, what does it fix and how do i handle -1 return codes? I do not completely unserstand the commit message...

Outcomes