From: David Brownell Date: Sun, 27 Jan 2008 17:14:46 +0000 (+0100) Subject: i2c-algo-bit: Fix NAK/ARB comments X-Git-Tag: v2.6.25-rc1~1212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3e2d1d9b860591f3f204aa66d6a3c30058818d;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed