Browse Source

dmaengine: edma: update DMA memcpy to use new param element

edma param struct is now within an edma_pset struct introduced in Thomas
Gleixner's edma tx status series. Update memcpy function for the same.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Joel Fernandes 11 years ago
parent
commit
b0cce4ca3e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/dma/edma.c

+ 2 - 2
drivers/dma/edma.c

@@ -583,8 +583,8 @@ struct dma_async_tx_descriptor *edma_prep_dma_memcpy(
 	 * on completion of every TR, and enable transfer-completion
 	 * on completion of every TR, and enable transfer-completion
 	 * interrupt on completion of the whole transfer.
 	 * interrupt on completion of the whole transfer.
 	 */
 	 */
-	edesc->pset[0].opt |= ITCCHEN;
-	edesc->pset[0].opt |= TCINTEN;
+	edesc->pset[0].param.opt |= ITCCHEN;
+	edesc->pset[0].param.opt |= TCINTEN;
 
 
 	return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags);
 	return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags);
 }
 }