OSDN Git Service

spi: lpspi: add missing complete in abort func at dma mode
authorClark Wang <xiaoning.wang@nxp.com>
Tue, 2 Apr 2019 12:45:53 +0000 (12:45 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:32:26 +0000 (11:32 +0700)
commit8863eca8c46affaa91ae35390b00358b925483eb
tree04857a63b8868ff681b57a4f6d7c59c41c34eb09
parent703b476695237dda54233d2dadb37d2d49de23cf
spi: lpspi: add missing complete in abort func at dma mode

Add the missing complete operations for dma_completion to fix the
problem of blocking at the wait_for_completion_interruptible()
function when use spi_slave_abort().

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c