commit | 9f9e3e0d4dd3338b3f3dde080789f71901e1e4ff | [log] [tgz] |
---|---|---|
author | Esben Haabendal <eha@deif.com> | Mon Jul 09 11:43:01 2018 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Jul 23 20:07:59 2018 +0200 |
tree | 73a61e3d5bddad1e591077ae7e590ef05912e1b2 | |
parent | cc8de9a68599b261244ea453b38678229f06ada7 [diff] |
i2c: imx: Fix reinit_completion() use Make sure to call reinit_completion() before dma is started to avoid race condition where reinit_completion() is called after complete() and before wait_for_completion_timeout(). Signed-off-by: Esben Haabendal <eha@deif.com> Fixes: ce1a78840ff7 ("i2c: imx: add DMA support for freescale i2c driver") Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Cc: stable@kernel.org