summaryrefslogtreecommitdiffstats
path: root/drivers/serial/uartlite.c
diff options
context:
space:
mode:
authorMike Ditto <mditto@consentry.com>2008-12-16 21:17:09 +0100
committerBen Dooks <ben-linux@fluff.org>2008-12-16 21:17:09 +0100
commita804644a1a31a0b85e4c7d3c49f30419513cb6c1 (patch)
tree31ee129f4590b3f99e69e78fe50ce5f503bc4a19 /drivers/serial/uartlite.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/iee... (diff)
downloadlinux-a804644a1a31a0b85e4c7d3c49f30419513cb6c1.tar.xz
linux-a804644a1a31a0b85e4c7d3c49f30419513cb6c1.zip
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>
Diffstat (limited to 'drivers/serial/uartlite.c')
0 files changed, 0 insertions, 0 deletions