]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
dma: xilinx: axidma: Fix race condition in the cyclic dma mode
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Thu, 7 Jul 2016 09:30:48 +0000 (15:00 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 11 Jul 2016 13:02:46 +0000 (15:02 +0200)
commitf4cd973b8e4216b3361d4ceb9b9b9a8d9c3c61a8
treed468cfeb6b077947805e78c9e81d409e1166d0e0
parent333ccab48c97fef9fcbef87079df5ec9c9c7fad4
dma: xilinx: axidma: Fix race condition in the cyclic dma mode

This patch fixes below race conditions in the cyclic dma mode.
---> In cyclic dma mode we need to configure tail bd pointer
to a value which is not part of bd chain.
---> Link the tail bd segment with the head bd segment
in cyclic dma mode.

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