dmaengine: xilinx: Fix race condition in axi dma cyclic dma mode
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Sat, 9 Jul 2016 08:39:48 +0000 (14:09 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Jul 2016 04:31:36 +0000 (10:01 +0530)
commite598e6eb46dd448d9b77a564e4d9664da52e3e1f
tree18c321dfa37a0be4732ef555f554b802bf68c855
parentb0cc417c1637192be658e68a74c8d1568e3d35f6
dmaengine: xilinx: Fix race condition in axi dma cyclic dma mode

In cyclic DMA mode need to link the tail bd segment
with the head bd segment to process bd's in cyclic.

Current driver is doing this only for tx channel
needs to update the same for rx channel case also.

This patch fixes the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xilinx/xilinx_dma.c