Re: [PATCH] i2c: i2c_cdns: fix write timeout on fifo boundary

2019-12-11 Thread Heiko Schocher
Hello Michael, Am 09.12.2019 um 19:16 schrieb Michael Auchter: This fixes an issue that would cause I2C writes to timeout when the number of bytes is a multiple of the FIFO depth (i.e. 16 bytes). Within the transfer loop, after writing the data register with a new byte to transfer, if the trans

Re: [PATCH] i2c: i2c_cdns: fix write timeout on fifo boundary

2019-12-10 Thread Heiko Schocher
Hello Michael, Am 09.12.2019 um 19:16 schrieb Michael Auchter: This fixes an issue that would cause I2C writes to timeout when the number of bytes is a multiple of the FIFO depth (i.e. 16 bytes). Within the transfer loop, after writing the data register with a new byte to transfer, if the trans

Re: [PATCH] i2c: i2c_cdns: fix write timeout on fifo boundary

2019-12-10 Thread Simon Glass
On Mon, 9 Dec 2019 at 11:19, Michael Auchter wrote: > > This fixes an issue that would cause I2C writes to timeout when the > number of bytes is a multiple of the FIFO depth (i.e. 16 bytes). > > Within the transfer loop, after writing the data register with a new > byte to transfer, if the transfe

[PATCH] i2c: i2c_cdns: fix write timeout on fifo boundary

2019-12-09 Thread Michael Auchter
This fixes an issue that would cause I2C writes to timeout when the number of bytes is a multiple of the FIFO depth (i.e. 16 bytes). Within the transfer loop, after writing the data register with a new byte to transfer, if the transfer size equals the FIFO depth, the loop pauses until the INTERRUP