Re: [PATCH 1/4] i2c: imx: Fix reinit_completion() use

2018-07-09 Thread Esben Haabendal
Uwe Kleine-König writes: > Cc += Yuan Yao who authored DMA support and the NXP team. > > On Wed, May 23, 2018 at 11:56:20AM +0200, Esben Haabendal wrote: >> From: Esben Haabendal >> >> Make sure to call reinit_completion() before dma is started to avoid race >> condition where reinit_compleitio

Re: [PATCH 1/4] i2c: imx: Fix reinit_completion() use

2018-07-04 Thread Uwe Kleine-König
Cc += Yuan Yao who authored DMA support and the NXP team. On Wed, May 23, 2018 at 11:56:20AM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Make sure to call reinit_completion() before dma is started to avoid race > condition where reinit_compleition() is called after complete() and b

[PATCH 1/4] i2c: imx: Fix reinit_completion() use

2018-05-23 Thread Esben Haabendal
From: Esben Haabendal Make sure to call reinit_completion() before dma is started to avoid race condition where reinit_compleition() is called after complete() and before wait_for_completion_timeout(). Signed-off-by: Esben Haabendal --- drivers/i2c/busses/i2c-imx.c | 3 +-- 1 file changed, 1 i