Re: [PATCH] i2c: cadence: Handle transfer_size rollover

2019-02-15 Thread Alex Williams
On Fri, Feb 15, 2019 at 2:53 AM Shubhrajyoti Datta wrote: > > HI Alex, > > Thanks for the patch. > > On Fri, Feb 1, 2019 at 4:22 AM wrote: > > > > From: Alex Williams > > > > Under certain conditions, Cadence's I2C controller's transfer_size > > Any help in reproducing the conditions would be ap

[PATCH] i2c: cadence: Handle transfer_size rollover

2019-01-31 Thread alex . williams
From: Alex Williams Under certain conditions, Cadence's I2C controller's transfer_size register will roll over and generate invalid read transactions. Before this change, the ISR relied solely on the RXDV bit to determine when to write more data to the user's buffer. The invalid read data would c