summary refs log tree commit diff
path: root/drivers/spi/spi-sh-msiof.c
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2012-06-28 21:08:11 +0800
committerHenrik Rydberg <rydberg@euromail.se>2012-06-29 15:58:03 +0200
commit771733e348e3df5b6283ab3b97d28577452bf09f (patch)
treedcdcc637e61aa21a8a345bfb3b4797a1bc6e81c1 /drivers/spi/spi-sh-msiof.c
parent794eb67e76118108af5280ace2be8ae4983a6a81 (diff)
downloadlinux-771733e348e3df5b6283ab3b97d28577452bf09f.tar.gz
Input: atmel_mxt_ts - return errors from i2c layer
The i2c layer can report a variety of errors, including -ENXIO for an i2c
NAK.  Instead of treating them all as -EIO, pass the actual i2c layer
error up to the caller.

However, still report as -EIO the unlikely case that a transaction was
partially completed, and no error message was returned from i2c_*().

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
0 files changed, 0 insertions, 0 deletions