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

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 7 04:12:29 PST 2012


On Wed,  7 Mar 2012 19:50:47 +0800, Daniel Kurtz <djkurtz at chromium.org> 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 at chromium.org>

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


More information about the dri-devel mailing list