Daniel Kurtz 771733e348 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>
2012-06-29 15:58:03 +02:00
..
2012-05-26 12:22:27 -07:00
2012-05-26 12:42:29 -07:00
2012-05-24 16:22:53 -04:00
2012-05-31 08:46:50 +02:00
2012-05-26 13:05:55 -07:00
2012-05-26 12:42:29 -07:00
2012-05-23 14:07:06 -07:00
2012-05-22 16:02:13 -07:00
2012-05-22 16:02:13 -07:00
2012-05-14 13:37:45 -07:00
2012-05-30 08:49:28 -07:00
2012-05-29 16:22:32 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 11:53:11 -07:00
2012-06-02 17:09:08 -04:00
2012-05-22 16:02:13 -07:00
2012-05-29 11:53:11 -07:00
2012-05-30 08:49:28 -07:00
2012-05-31 12:02:41 -07:00
2012-05-26 13:05:55 -07:00
2012-05-16 12:46:37 -04:00
2012-05-26 12:42:29 -07:00
2012-06-01 16:57:51 -07:00
2012-05-26 12:42:29 -07:00
2012-05-22 16:34:21 -07:00
2012-05-26 12:22:27 -07:00