OSDN Git Service

dmaengine: dmatest: use dmaengine_terminate_sync() instead
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 29 Oct 2018 09:23:36 +0000 (11:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Nov 2018 13:46:46 +0000 (19:16 +0530)
commitfbffb6b4d44f1263390130cb8b35cabc030af3f7
treebde643f82bd562744400e1753bd823413870906b
parent0255200bd29afc320c6ea4c1adf8bdc13a9b3c15
dmaengine: dmatest: use dmaengine_terminate_sync() instead

The `dmaengine_terminate_all()` is marked as deprecated, so update the test
with `dmaengine_terminate_sync()` which is the recommended alternative.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c