[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

Keith Packard keithp at keithp.com
Mon Oct 17 15:41:50 PDT 2011


On Mon, 17 Oct 2011 19:07:51 -0200, Eugeni Dodonov <eugeni at dodonov.net> wrote:

> 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.

Oh, there's -ENOMEM, -EINVAL and probably a few others down in the
bowels of the kernel i2c bits. Starting with the obvious (ENXIO) seems
safest to me.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111017/97368ce3/attachment.pgp>


More information about the dri-devel mailing list