Re: [PATCH] i2c: xiic: Make the start and the byte count write atomic

2018-09-06 Thread Michal Simek
On 6.9.2018 20:52, Wolfram Sang wrote: > On Mon, Sep 03, 2018 at 03:11:11PM +0530, shubhrajyoti.da...@gmail.com wrote: >> From: Shubhrajyoti Datta >> >> Disable interrupts while configuring the transfer and enable them back. >> >> We have below as the programming sequence >> 1. start and slave add

Re: [PATCH] i2c: xiic: Make the start and the byte count write atomic

2018-09-06 Thread Wolfram Sang
On Mon, Sep 03, 2018 at 03:11:11PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > Disable interrupts while configuring the transfer and enable them back. > > We have below as the programming sequence > 1. start and slave address > 2. byte count and stop > > In some cu

Re: [PATCH] i2c: xiic: Make the start and the byte count write atomic

2018-09-06 Thread Shubhrajyoti Datta
Hi, On Tue, Sep 4, 2018 at 9:41 PM Wolfram Sang wrote: > > On Mon, Sep 03, 2018 at 03:11:11PM +0530, shubhrajyoti.da...@gmail.com wrote: > > From: Shubhrajyoti Datta > > > > Disable interrupts while configuring the transfer and enable them back. > > > > We have below as the programming sequence

Re: [PATCH] i2c: xiic: Make the start and the byte count write atomic

2018-09-04 Thread Wolfram Sang
On Mon, Sep 03, 2018 at 03:11:11PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > Disable interrupts while configuring the transfer and enable them back. > > We have below as the programming sequence > 1. start and slave address > 2. byte count and stop > > In some cu

[PATCH] i2c: xiic: Make the start and the byte count write atomic

2018-09-03 Thread shubhrajyoti.datta
From: Shubhrajyoti Datta Disable interrupts while configuring the transfer and enable them back. We have below as the programming sequence 1. start and slave address 2. byte count and stop In some customer platform there was a lot of interrupts between 1 and 2 and after slave address (around 7