diff options
author | Esben Haabendal <eha@deif.com> | 2018-07-09 12:43:01 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-23 21:07:59 +0300 |
commit | 9f9e3e0d4dd3338b3f3dde080789f71901e1e4ff (patch) | |
tree | 73a61e3d5bddad1e591077ae7e590ef05912e1b2 /fs/dlm/Kconfig | |
parent | cc8de9a68599b261244ea453b38678229f06ada7 (diff) | |
download | linux-9f9e3e0d4dd3338b3f3dde080789f71901e1e4ff.tar.xz |
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
Diffstat (limited to 'fs/dlm/Kconfig')
0 files changed, 0 insertions, 0 deletions