> };
>
> @@ -474,6 +481,7 @@ xilinx_vdma_alloc_tx_segment(struct xilinx_dma_chan
> *chan)
> if (!segment)
> return NULL;
>
> + memset(segment, 0, sizeof(*segment));
Unrelated change will fix in v2...
> segment->phys = phys;
>
> return segment;
This patch adds support for AXI DMA cyclic dma mode.
In cyclic mode, DMA fetches and processes the same
BDs without interruption. The DMA continues to fetch and process
until it is stopped or reset.
Signed-off-by: Kedareswara rao Appana
---
drivers/dma/xilinx/xilinx_vdma.c | 179
2 matches
Mail list logo