dmaengine: omap: add support for cyclic DMA
[deliverable/linux.git] / drivers / dma / coh901318.c
index 750925f9638bab656b39ccff65bed7dbdbee405c..e67b4e06a918350137e8119e940618318f2c7867 100644 (file)
@@ -1033,7 +1033,7 @@ coh901318_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
 
        if (!sgl)
                goto out;
-       if (sgl->length == 0)
+       if (sg_dma_len(sgl) == 0)
                goto out;
 
        spin_lock_irqsave(&cohc->lock, flg);
This page took 0.025946 seconds and 5 git commands to generate.