diff options
author | David Brownell <david-b@pacbell.net> | 2008-01-27 18:14:46 +0100 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 18:14:46 +0100 |
commit | bf3e2d1d9b860591f3f204aa66d6a3c30058818d (patch) | |
tree | af5683e3ff7ba26913e2f77bc8cf227702049590 /include/asm-sparc64/intr_queue.h | |
parent | cf978ab2846d86709802f38c80d1d53da364bf51 (diff) |
i2c-algo-bit: Fix NAK/ARB comments
Update comments and logging on return path for byte writes. NAK is
an error, to be reported or optionally ignored. Timeouts are always
errors. Lost arbitration is not currently handled, so don't even list
it as an option in the error message.
Don't return bogus EFAULT code for inappropriate NAK; EIO is better,
there is no bad userspace address in question.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/asm-sparc64/intr_queue.h')
0 files changed, 0 insertions, 0 deletions