Re: Re: [PATCH] i2c: xlp9xx: Fix case where SSIF read transaction completes early

2018-08-02 Thread George Cherian
Hi Wolfran, Thanks for the review. I will update the patch with a small comment section above len --; so that there is no confusion. On 08/01/2018 02:35 AM, Wolfram Sang wrote: --- a/drivers/i2c/busses/i2c-xlp9xx.c +++ b/drivers/i2c/busses/i2c-xlp9xx.c @@ -191,28 +191,30 @@ static void

Re: Re: [PATCH] i2c: xlp9xx: Fix case where SSIF read transaction completes early

2018-08-02 Thread George Cherian
Hi Wolfran, Thanks for the review. I will update the patch with a small comment section above len --; so that there is no confusion. On 08/01/2018 02:35 AM, Wolfram Sang wrote: --- a/drivers/i2c/busses/i2c-xlp9xx.c +++ b/drivers/i2c/busses/i2c-xlp9xx.c @@ -191,28 +191,30 @@ static void

Re: [PATCH] i2c: xlp9xx: Fix case where SSIF read transaction completes early

2018-07-31 Thread Wolfram Sang
> --- a/drivers/i2c/busses/i2c-xlp9xx.c > +++ b/drivers/i2c/busses/i2c-xlp9xx.c > @@ -191,28 +191,30 @@ static void xlp9xx_i2c_drain_rx_fifo(struct > xlp9xx_i2c_dev *priv) > if (priv->len_recv) { > /* read length byte */ > rlen = xlp9xx_read_i2c_reg(priv,

Re: [PATCH] i2c: xlp9xx: Fix case where SSIF read transaction completes early

2018-07-31 Thread Wolfram Sang
> --- a/drivers/i2c/busses/i2c-xlp9xx.c > +++ b/drivers/i2c/busses/i2c-xlp9xx.c > @@ -191,28 +191,30 @@ static void xlp9xx_i2c_drain_rx_fifo(struct > xlp9xx_i2c_dev *priv) > if (priv->len_recv) { > /* read length byte */ > rlen = xlp9xx_read_i2c_reg(priv,