Re: [PATCH v3 2/3] i2c: imx: Simplify stopped state tracking

2018-08-16 Thread Uwe Kleine-König
On Thu, Aug 09, 2018 at 02:32:06PM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Always update the stopped state when busy status have been checked. > This is identical to what was done before, with the exception of error > handling. > Without this change, some errors cause the stoppe

[PATCH v3 2/3] i2c: imx: Simplify stopped state tracking

2018-08-09 Thread Esben Haabendal
From: Esben Haabendal Always update the stopped state when busy status have been checked. This is identical to what was done before, with the exception of error handling. Without this change, some errors cause the stopped state to be left in incorrect state in i2c_imx_stop(), i2c_imx_dma_read(),