Bug in drivers/i2c/i2c-algo-ppc405.c ???
Gerard Basler
gbasler at ee.ethz.ch
Thu Feb 28 23:27:41 EST 2002
Dear list,
Does anybody use the i2c driver for ppc405?
These drivers are not part of the standard linux kernel, I found them at
www.netroedge.com/~lm78 (lm_sensors project). (Why?)
I think there's a bug in i2c-algo-ppc405.c
The function iic_xfer (ppc405 implementation of i2c_transfer) returns
always the number of bytes read / written
of the last sub-transaction.
I think it's supposed to return the number of successfully completed
transfers instead.
Just now I can't find something in the documentation on this topic but
I'm sure I've read that somewhere...
(Other drivers like i2c-alg-pcf.c are implemented in this manner)
Perhaps I should better contact the authors... I don't know what the
usual proceeding is concerning such things.
Best Regards,
Gérard
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list