Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3ff9582 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mark Brown
Browse files

spi: dw-mid: switch to new dmaengine_terminate_* API



Convert dmaengine_terminate_all() calls to synchronous versions.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 92e963f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -89,10 +89,10 @@ static void mid_spi_dma_exit(struct dw_spi *dws)
	if (!dws->dma_inited)
		return;

	dmaengine_terminate_all(dws->txchan);
	dmaengine_terminate_sync(dws->txchan);
	dma_release_channel(dws->txchan);

	dmaengine_terminate_all(dws->rxchan);
	dmaengine_terminate_sync(dws->rxchan);
	dma_release_channel(dws->rxchan);
}