]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: idma64: Support dmaengine_terminate_sync()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Jul 2018 11:49:42 +0000 (14:49 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 10 Jul 2018 15:40:44 +0000 (21:10 +0530)
commit1529d9c5e7eb295b6e82252e9db4bf8db8b0e744
treed219e5da869dff27b1801930a02e252673169cc8
parentf3fc4c757b33e1988a6873c9e37563001a7f5a01
dmaengine: idma64: Support dmaengine_terminate_sync()

It appears that the driver misses the support of dmaengine_terminate_sync().
Since many of callers expects this behaviour implement the new
device_synchronize() callback to allow proper synchronization when stopping
a channel.

Fixes: 48f46c8d72f4 ("dmaengine: Add transfer termination synchronization support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idma64.c