[COMMON] DMA: Add configurable burst length in cyclic mode.
authorJaejoon Yoo <joonyj7.yoo@samsung.com>
Wed, 29 Nov 2017 00:24:40 +0000 (09:24 +0900)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 14 May 2018 05:42:47 +0000 (14:42 +0900)
Change-Id: Iaa152f26fac528b9fdb4b125cd5206377c55db54
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
drivers/dma/pl330.c

index 033a263f95abe99f03c997c44c2e757b4dbfc2c2..5900964192e8e6df1bbf83488ef5d277c0bf8f72 100644 (file)
@@ -2775,7 +2775,7 @@ static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic(
 
                desc->rqtype = direction;
                desc->rqcfg.brst_size = pch->burst_sz;
-               desc->rqcfg.brst_len = 1;
+               desc->rqcfg.brst_len = pch->burst_len;
                desc->bytes_requested = period_len;
                desc->infiniteloop = *infinite;
                fill_px(&desc->px, dst, src, period_len);