diff options
author | Joel Fernandes <joelf@ti.com> | 2014-04-28 16:30:32 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-04-30 01:06:57 -0400 |
commit | b0cce4ca3e740b5224d75634aa9d9abe9dfceabb (patch) | |
tree | fd62abeeaa5be3d51f757e393c933b7074a1732f /drivers/dma | |
parent | 04361d887fc5d217bcb9cbd3c32980cdc34dc91f (diff) |
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/edma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 18c833fa1646..d08c4dedef35 100644 --- a/drivers/dma/edma.c +++ b/drivers/dma/edma.c | |||
@@ -583,8 +583,8 @@ struct dma_async_tx_descriptor *edma_prep_dma_memcpy( | |||
583 | * on completion of every TR, and enable transfer-completion | 583 | * on completion of every TR, and enable transfer-completion |
584 | * interrupt on completion of the whole transfer. | 584 | * interrupt on completion of the whole transfer. |
585 | */ | 585 | */ |
586 | edesc->pset[0].opt |= ITCCHEN; | 586 | edesc->pset[0].param.opt |= ITCCHEN; |
587 | edesc->pset[0].opt |= TCINTEN; | 587 | edesc->pset[0].param.opt |= TCINTEN; |
588 | 588 | ||
589 | return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); | 589 | return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); |
590 | } | 590 | } |