Re: [PATCH v2 7/7] i2c: omap: implement handling for 'transferred' bytes

2012-10-27 Thread Paul Walmsley
Hi On Thu, 25 Oct 2012, Felipe Balbi wrote: this is important in cases where client driver wants to know how many bytes were actually transferred. There is one trick here: if transfer is completed, meaning I2C_CNT reaches zero, then ARDY will be asserted to let SW know that it can

[PATCH v2 7/7] i2c: omap: implement handling for 'transferred' bytes

2012-10-25 Thread Felipe Balbi
this is important in cases where client driver wants to know how many bytes were actually transferred. There is one trick here: if transfer is completed, meaning I2C_CNT reaches zero, then ARDY will be asserted to let SW know that it can program a new transfer. When ARDY is asserted, I2C_CNT is