Re: [PATCH 1/3] i2c i2c-mv64xxx: send repeated START between messages in xfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 26, 2010 at 05:06:56PM +0100, Rodolfo Giometti wrote:
> As stated into file include/linux/i2c.h we must send a repeated START
> between messages in the same xfer groupset:

patch says 1/3, but only one turned up?
 
>  * Except when I2C "protocol mangling" is used, all I2C adapters implement
>  * the standard rules for I2C transactions.  Each transaction begins with a
>  * START.  That is followed by the slave address, and a bit encoding read
>  * versus write.  Then follow all the data bytes, possibly including a byte
>  * with SMBus PEC.  The transfer terminates with a NAK, or when all those
>  * bytes have been transferred and ACKed.  If this is the last message in a
>  * group, it is followed by a STOP.  Otherwise it is followed by the next
>  * @i2c_msg transaction segment, beginning with a (repeated) START.
> 
> Signed-off-by: Rodolfo Giometti <giometti@xxxxxxxx>
> Signed-off-by: Mauro Barella <mbarella@xxxxxxxxxx>
> ---
>  drivers/i2c/busses/i2c-mv64xxx.c |   45 ++++++++++++++++++++++++++++++++------

Anyone got any commentson whether this is an -rc fix or for next merge
window... I'd be tempted to merge it as soon as possible.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

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


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux