[lm-sensors] i2c-core error messages

Kai Svahn kai.svahn at nokia.com
Mon Mar 6 08:15:43 CET 2006


Hello all,

I was just wondering is there a reason that in i2c.core.c file, i2c_probe
function returns 0 when there is an error? I changed the code a bit for
my own chip driver to know that we fail and then I return
negative value.
I noticed this problem when I had HW with faulty chip that communicates
through i2c.

I can post a patch if you want.

Cheers,
Kai




More information about the lm-sensors mailing list