dmaengine: edma: Update caps->residue_granularity to match with reality
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 16 Jul 2014 12:29:20 +0000 (15:29 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 28 Jul 2014 11:32:33 +0000 (17:02 +0530)
The edma can report accurate DMA position so update the residue_granularity
to DMA_RESIDUE_GRANULARITY_BURST.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c

index d08c4dedef3585ba62e6681ec4a778ba65074907..8e400c0f35294840e5427d3348973d32eaed0d02 100644 (file)
@@ -992,7 +992,7 @@ static int edma_dma_device_slave_caps(struct dma_chan *dchan,
        caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
        caps->cmd_pause = true;
        caps->cmd_terminate = true;
-       caps->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR;
+       caps->residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
 
        return 0;
 }
This page took 0.037465 seconds and 5 git commands to generate.