Re: [PATCH V8 4/5] i2c: tegra: Update transfer timeout

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:26PM -0800, Sowjanya Komatineni wrote: > Tegra194 allows max of 64K bytes and Tegra186 and prior allows > max of 4K bytes of transfer per packet. > > one sec timeout is not enough for transfers more than 10K bytes > at STD bus rate. > > This patch updates I2C transfe

[PATCH V8 4/5] i2c: tegra: Update transfer timeout

2019-01-30 Thread Sowjanya Komatineni
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during m