linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Bug in drivers/i2c/i2c-algo-ppc405.c ???
@ 2002-02-28 12:27 Gerard Basler
  2002-02-28 10:12 ` Armin
  0 siblings, 1 reply; 2+ messages in thread
From: Gerard Basler @ 2002-02-28 12:27 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-28 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-28 12:27 Bug in drivers/i2c/i2c-algo-ppc405.c ??? Gerard Basler
2002-02-28 10:12 ` Armin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).