mirror of
https://github.com/torvalds/linux.git
synced 2024-11-04 11:04:38 +00:00
97140342e6
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> |
||
---|---|---|
.. | ||
i2c-algo-bit.c | ||
i2c-algo-pca.c | ||
i2c-algo-pcf.c | ||
i2c-algo-pcf.h | ||
i2c-algo-sgi.c | ||
Kconfig | ||
Makefile |