linux/drivers/i2c/algos
David Brownell 97140342e6 i2c: Bus drivers return -Errno not -1
Tighten error paths used by various i2c adapters (mostly x86) so
they return real fault/errno codes instead of a "-1" (which is
most often interpreted as "-EPERM").  Build tested, with eyeball
review.

One minor initial goal is to have adapters consistently return
the code "-ENXIO" when addressing a device doesn't get an ACK
response, at least in the probe paths where they are already
good at stifling related logspam.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:25 +02:00
..
i2c-algo-bit.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-algo-pca.c i2c-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
i2c-algo-pcf.c i2c-algo-pcf: Delete broken 10-bit address support 2008-01-27 18:14:46 +01:00
i2c-algo-pcf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-algo-sgi.c i2c-algo-sgi: Comment and whitespace cleanups 2007-05-01 23:26:32 +02:00
Kconfig i2c: Remove the algorithm drivers from the config menu 2008-04-22 22:16:46 +02:00
Makefile i2c: Delete the broken i2c-ite bus driver 2006-12-10 21:21:29 +01:00