dmaengine: pl330: fix to support the burst mode
authorCaesar Wang <wxt@rock-chips.com>
Thu, 25 Feb 2016 01:00:53 +0000 (09:00 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 1 Mar 2016 03:41:25 +0000 (09:11 +0530)
commit0a18f9b268dd66c84c806a74b3bc0be6438e7ba7
treeb2a9ba71a1070d2917d458d53b33a0eaa434f4ad
parent80abf8880cc6e1594c11b7c417f22dde60e25312
dmaengine: pl330: fix to support the burst mode

This patch fixes the burst mode that will break DMA uart on SoCFPGA.

In some cases, some SoCS didn't support the multi-burst
even if the devices who use the pl330 claim support the maxburst.

Fixes: commit 848e977
"dmaengine: pl330: support burst mode for dev-to-mem and mem-to-dev transmit"

Reported-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Tested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c