]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: sprd: Support DMA link-list cyclic callback
authorEric Long <eric.long@spreadtrum.com>
Tue, 6 Nov 2018 05:01:35 +0000 (13:01 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 5 Dec 2018 08:57:12 +0000 (14:27 +0530)
commit2f8c69e307bce774b510babec7636018d3a591a9
treece43fd76d98932d8cb7c7ac1ec993306b25b6237
parent57558997c9fe548ad10245cf9527c2dbbb29e4c1
dmaengine: sprd: Support DMA link-list cyclic callback

The Spreadtrum DMA link-list mode is always one cyclic transfer,
so we should clear the SPRD_DMA_LLIST_END flag for the link-list
configuration. Moreover add cyclic callback support for the cyclic
transfer.

Signed-off-by: Eric Long <eric.long@spreadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c