]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: edma: Correct the handling of src/dst_maxburst == 0
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Apr 2014 11:41:58 +0000 (14:41 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 22 Apr 2014 16:05:22 +0000 (21:35 +0530)
commitb2b617de04081931cc10fd862b76b9fcaa9489e2
tree31ec9e7aae260daed8123e5f7708f42fd9b01dea
parent7cf2af90cd515bf27f1b7183f3d6f91b151990ed
dmaengine: edma: Correct the handling of src/dst_maxburst == 0

When clients asks for maxburst = 0 it is basically the same case as if they
were asking for maxburst = 1 since in both case ASYNC need to be used and
the eDMA is expected to write/read one word per DMA request.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Joel Fernandes <joelf@ti.com>
Reviewed-and-Tested-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c