[PATCH] possible bug in i2c-algo-bit's inb function

Jean Delvare khali at linux-fr.org
Sun Feb 27 19:52:26 CET 2005


Hi Andreas,

> Here's my I2C code:
> (...)

Looks sane.

> The bus master is a so called Pluto2 by SCM (part of a DVB-T card sold
> by Satelco). If this is a hardware bug, is it possible to add a flag
> to struct i2c_algo_bit_data to workaround this bug?

I would try to find out whether the culprit is setscl or getsda
(assuming I am correct and either of these actually is the problem).
Once you know which it is, you could modifiy that function to restore
the SDA line, that should do the trick.

Hope that helps,
-- 
Jean Delvare



More information about the lm-sensors mailing list