Re: i2c-i801 retries on lost arbitration (resent: no gpg)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Friday, April 30, 2010 - 2:48 am

Hi Sergey,

On Fri, 30 Apr 2010 12:44:12 +0300, Sergey Senozhatsky wrote:

gpg is fine.


No, it's not. As you wrote above, this is not specific to the Intel ICH
but a general I2C issue. As such it must be handled in i2c-core and not
by individual drivers. And as a matter of fact, it is already handled.
Look at functions i2c_transfer and i2c_smbus_xfer in i2c-core.c, see
the comments "Retry automatically on arbitration loss", the code is
already there. It's just a matter of bus drivers properly setting
adapter->retries (which i2c-i801.c does already.)

So I don't know which kernel you're using, but with the latest upstream
kernel, things should work just fine already.

-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
i2c-i801 retries on lost arbitration (resent: no gpg), Sergey Senozhatsky, (Fri Apr 30, 2:44 am)
Re: i2c-i801 retries on lost arbitration (resent: no gpg), Jean Delvare, (Fri Apr 30, 2:48 am)
Re: i2c-i801 retries on lost arbitration (resent: no gpg), Sergey Senozhatsky, (Fri Apr 30, 3:07 am)