dmaengine: pl330: flush before wait, and add dev burst support.
authorFrank Mori Hess <fmh6jj@gmail.com>
Thu, 19 Apr 2018 00:31:06 +0000 (20:31 -0400)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 May 2018 09:01:56 +0000 (14:31 +0530)
commit1d48745b192a7a45bbdd3557b4c039609569ca41
treed90426df26b3f9e000e84783c3a0b539ef42dd19
parent60cc43fc888428bb2f18f08997432d426a243338
dmaengine: pl330: flush before wait, and add dev burst support.

Do DMAFLUSHP _before_ the first DMAWFP to ensure controller
and peripheral are in agreement about dma request state before first
transfer.  Add support for burst transfers to/from peripherals. In the new
scheme, the controller does as many burst transfers as it can then
transfers the remaining dregs with either single transfers for
peripherals, or with a reduced size burst for memory-to-memory transfers.

Signed-off-by: Frank Mori Hess <fmh6jj@gmail.com>
Tested-by: Frank Mori Hess <fmh6jj@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c