Am Montag, den 08.04.2013, 19:21 +0200 schrieb Wolfram Sang: > On Thu, Mar 14, 2013 at 12:49:08PM +0100, Lucas Stach wrote: > > Our transfers always start with the device address, so there is never a > > situation where we just do a restart transfer. Full blown transfers should > > always end with a STOP as per i2c spec. > > ? I don't get the description. Does "restart transfer" mean repeated > start? What has the device address to do with it? > A restart transfer is when you just repeat the START condition, without putting the device address on the bus again. In the MXS driver we put the device address on the bus for every transaction we get handed in from the i2c core, so there is never a situation where we just repeat the start condition without sending out the device address. Before this patch we would not match every transaction, but only the last in the list of pending ones, with a STOP condition, which is a violation of the spec. If there are no other comments, I'll send out a V2 today, to take in Marek's remarks. -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html