android_kernel_xiaomi_sm8350/drivers/i2c
Mike Ditto a804644a1a i2c-cpm: Detect and report NAK right away instead of timing out
Make the driver report an ENXIO error immediately upon NAK instead of
waiting for another interrupt and getting a timeout.

When reading from a device that is not present or declines to respond
to, e.g., a non-existent register address, CPM immediately reports a
NAK condition in the TxBD, but the driver kept waiting until a timeout,
which takes 1 second and causes an ugly console error message.

Signed-off-by: Mike Ditto <mditto@consentry.com>
Acked-by: Jochen Friedrich <jochen@scram.de>
[ben-linux@fluff.org: reordered description text]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-12-16 20:17:09 +00:00
..
algos i2c-algo-pcf: Fix typo in debugging log message 2008-10-22 20:21:30 +02:00
busses i2c-cpm: Detect and report NAK right away instead of timing out 2008-12-16 20:17:09 +00:00
chips i2c/isp1301_omap: Build fixes 2008-11-28 15:24:38 +01:00
i2c-boardinfo.c
i2c-core.c i2c: Remove i2c clients in reverse order 2008-11-28 15:24:38 +01:00
i2c-core.h
i2c-dev.c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
Kconfig
Makefile