aboutsummaryrefslogtreecommitdiff
path: root/lib/jedec_ddr_data.c
diff options
context:
space:
mode:
authorKedareswara rao Appana <[email protected]>2016-06-09 11:32:12 +0530
committerVinod Koul <[email protected]>2016-06-13 11:11:17 +0530
commite167a0b6dc49cb3694fea888560aa462532951dd (patch)
tree228357994aee3b57b13b784eb874bf514c3acce4 /lib/jedec_ddr_data.c
parent62147866517b3c2b22f52adec2b21bf97ce1e684 (diff)
dmaengine: vdma: Fix compilation warning in cyclic dma mode
This patch fixes the below compilation warining. drivers/dma/xilinx/xilinx_vdma.c: In function 'xilinx_dma_prep_dma_cyclic': drivers/dma/xilinx/xilinx_vdma.c:1808:23: warning: 'segment' may be used uninitialized in this function [-Wmaybe-uninitialized] segment->hw.control |= XILINX_DMA_BD_SOP; The start of packet (SOP) should be set to the first segment in the desc chain not for the last segment of the desc chain. Signed-off-by: Kedareswara rao Appana <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions