linux/drivers/i2c/busses
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-acorn.c make i2c-acorn tristate 2007-07-15 16:40:52 -07:00
i2c-ali15x3.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ali1535.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ali1563.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd756-s4882.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd756.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-amd8111.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-at91.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-au1550.c [MIPS] Alchemy: SMBus resource fix 2008-05-12 16:46:50 +01:00
i2c-bfin-twi.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-davinci.c i2c-davinci: Initialize cmd_complete sooner 2008-07-14 22:38:21 +02:00
i2c-elektor.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-gpio.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-hydra.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-i801.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ibm_iic.c i2c-ibm_iic: Support building as an of_platform driver 2008-04-22 22:16:47 +02:00
i2c-ibm_iic.h i2c-ibm_iic: Whitespace cleanup 2008-01-27 18:14:45 +01:00
i2c-iop3xx.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-iop3xx.h [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-ixp2000.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-mpc.c i2c-mpc: Compare to NO_IRQ instead of zero 2008-05-11 20:37:04 +02:00
i2c-mv64xxx.c [I2C] i2c-mv64xxx: Don't set i2c_adapter.retries 2008-01-26 15:04:01 +00:00
i2c-nforce2-s4985.c i2c-nforce2: Add support for multiplexing on the Tyan S4985 2008-07-14 22:38:21 +02:00
i2c-nforce2.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-ocores.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-omap.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-parport-light.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-parport.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-parport.h i2c-parport: Add support for One For All remote JP1 interface 2007-02-13 22:09:02 +01:00
i2c-pasemi.c i2c-pasemi: use i2c_add_numbered_adapter() 2008-01-27 18:14:44 +01:00
i2c-pca-isa.c i2c-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
i2c-pca-platform.c i2c: Add platform driver on top of the new pca-algorithm 2008-04-22 22:16:46 +02:00
i2c-piix4.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-pmcmsp.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-pnx.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-powermac.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-pxa.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-s3c2410.c I2C: S3C2410: Add MODULE_ALIAS() for s3c2440 device. 2008-07-01 14:30:38 +01:00
i2c-sh7760.c i2c: Renesas SH7760 I2C master driver 2008-04-22 22:16:47 +02:00
i2c-sh_mobile.c i2c: New driver for the SuperH Mobile I2C bus controller 2008-04-22 22:16:49 +02:00
i2c-sibyte.c i2c-sibyte: Mark i2c_sibyte_add_bus() as static 2008-05-11 20:37:05 +02:00
i2c-simtec.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-sis96x.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-sis630.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-sis5595.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-stub.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-taos-evm.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
i2c-tiny-usb.c i2c-tiny-usb: New VID/PID pair 2008-04-11 12:07:05 +02:00
i2c-versatile.c i2c: Fix platform driver hotplug/coldplug 2008-04-22 22:16:49 +02:00
i2c-via.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
i2c-viapro.c i2c: Bus drivers return -Errno not -1 2008-07-14 22:38:25 +02:00
i2c-voodoo3.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00
Kconfig i2c: Group bus drivers by type 2008-07-14 22:38:23 +02:00
Makefile i2c: Group bus drivers by type 2008-07-14 22:38:23 +02:00
scx200_acb.c i2c/scx200_acb: Don't use 0 as NULL pointer 2008-04-22 22:16:48 +02:00
scx200_i2c.c i2c: Add IDs to adapters 2007-02-13 22:09:01 +01:00