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

From: Jean Delvare
Date: Sun Feb 27 2005 - 13:53:34 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/