lkml.org 
[lkml]   [2016]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] dmaengine: vdma: Add support for cyclic dma mode
Date
>  };
>
> @@ -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;

\
 
 \ /
  Last update: 2016-05-18 10:21    [W:0.054 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site