dmaengine: tegra-apb: Implement synchronization hook
authorDmitry Osipenko <digetx@gmail.com>
Sun, 9 Feb 2020 16:33:40 +0000 (19:33 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 06:27:32 +0000 (11:57 +0530)
commitdda5e35a771043bb5a9e6107fa9f141d8d56b847
treeb7d7fac895a8b628557c39be6eb943bfad2ae2b4
parenteb0249d50153a8edf2c0cfbf281199813980c8d4
dmaengine: tegra-apb: Implement synchronization hook

The ISR tasklet could be kept scheduled after DMA transfer termination,
let's add synchronization hook which blocks until tasklet is finished.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200209163356.6439-4-digetx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c