Re: [PATCH] I2C patch 5 - Add a non-blocking interface to the I2Ccore (again)

From: Arjan van de Ven
Date: Fri Feb 25 2005 - 09:37:44 EST



> +/* Another note: This interface is extremely sensitive to timing and
> + failure handling. If you don't wait at least one jiffie after
> + starting the transaction before checking things, you will screw it
> + up. If you don't wait a jiffie after the final check, you will
> + screw it up. If you screw it up by these manners or by abandoning
> + an operation in progress, the I2C bus is likely stuck and won't
> + work any more. Gotta love this hardware. */

this sounds scary. Your "jiffie" in the comment, for which value of HZ
is that taken? Would you consider changing this to absolute time
instead?


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