Re: [PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

From: Chris Wilson
Date: Wed Mar 07 2012 - 07:12:39 EST


On Wed, 7 Mar 2012 19:50:47 +0800, Daniel Kurtz <djkurtz@xxxxxxxxxxxx> wrote:
> Return -ENXIO if a device NAKs a transaction.
>
> Note: We should return -ETIMEDOUT, too if the transaction times out,
> however, that error path is currently handled by the 'bit-bang fallback'.
>
> Signed-off-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>

Can you clarify what the rule is if an error is detected part-way
through a xfer?
-Chris

--
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/