Merge tag 'omapdss-for-3.7-rc' of git://gitorious.org/linux-omap-dss2/linux
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / dma / sirf-dma.c
index 649fd6c965eb18d91674ce5fb4acb3662b1ce2d2..d451caace806445428c40d3f4d5678ada4a0925d 100644 (file)
@@ -109,7 +109,7 @@ static void sirfsoc_dma_execute(struct sirfsoc_dma_chan *schan)
        sdesc = list_first_entry(&schan->queued, struct sirfsoc_dma_desc,
                node);
        /* Move the first queued descriptor to active list */
-       list_move_tail(&schan->queued, &schan->active);
+       list_move_tail(&sdesc->node, &schan->active);
 
        /* Start the DMA transfer */
        writel_relaxed(sdesc->width, sdma->base + SIRFSOC_DMA_WIDTH_0 +