diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2012-06-28 13:08:11 (GMT) |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-06-29 13:58:03 (GMT) |
commit | 771733e348e3df5b6283ab3b97d28577452bf09f (patch) | |
tree | dcdcc637e61aa21a8a345bfb3b4797a1bc6e81c1 /drivers/thermal | |
parent | 794eb67e76118108af5280ace2be8ae4983a6a81 (diff) | |
download | linux-fsl-qoriq-771733e348e3df5b6283ab3b97d28577452bf09f.tar.xz |
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/thermal')
0 files changed, 0 insertions, 0 deletions