On Mon, 17 Oct 2011 19:07:51 -0200, Eugeni Dodonov <eugeni@dodonov.net> wrote:Oh, there's -ENOMEM, -EINVAL and probably a few others down in the
> From what I've checked, the other return error value in this context could
> be -EREMOTEIO, which could be caused by transmission error so it should be
> retried.
bowels of the kernel i2c bits. Starting with the obvious (ENXIO) seems
safest to me.