dmaengine: sun4i: Add support for cyclic requests with dedicated DMA
authorStefan Mavrodiev <stefan@olimex.com>
Fri, 10 Jan 2020 14:11:39 +0000 (16:11 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 Jan 2020 08:34:29 +0000 (14:04 +0530)
commitffc079a4accc2bd02758eb93cb8efcb3bfee1891
tree19e5c64b034235ebabb985739972a340597bf235
parent4b048178854da11656596d36a107577d66fd1e08
dmaengine: sun4i: Add support for cyclic requests with dedicated DMA

Currently the cyclic transfers can be used only with normal DMAs. They
can be used by pcm_dmaengine module, which is required for implementing
sound with sun4i-hdmi encoder. This is so because the controller can
accept audio only from a dedicated DMA.

This patch enables them, following the existing style for the
scatter/gather type transfers.

Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20200110141140.28527-2-stefan@olimex.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sun4i-dma.c