aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/idma64.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-03-14 11:17:44 +0530
committerVinod Koul <vinod.koul@intel.com>2016-03-14 11:17:44 +0530
commit8795d1432846eda999370ce51140e23d6df1f35c (patch)
tree676ddb8bfbbf36a1dda3fb69f747e1ea527b5026 /drivers/dma/idma64.c
parentMerge branch 'topic/edma' into for-linus (diff)
parentdmaengine: idma64: fix typo in WR_ISSUE_THD(x) (diff)
downloadlinux-dev-8795d1432846eda999370ce51140e23d6df1f35c.tar.xz
linux-dev-8795d1432846eda999370ce51140e23d6df1f35c.zip
Merge branch 'topic/idma' into for-linus
Diffstat (limited to 'drivers/dma/idma64.c')
-rw-r--r--drivers/dma/idma64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/idma64.c b/drivers/dma/idma64.c
index 3cb7b2c78197..1953e57505f4 100644
--- a/drivers/dma/idma64.c
+++ b/drivers/dma/idma64.c
@@ -289,6 +289,9 @@ static void idma64_desc_fill(struct idma64_chan *idma64c,
/* Trigger an interrupt after the last block is transfered */
lli->ctllo |= IDMA64C_CTLL_INT_EN;
+
+ /* Disable LLP transfer in the last block */
+ lli->ctllo &= ~(IDMA64C_CTLL_LLP_S_EN | IDMA64C_CTLL_LLP_D_EN);
}
static struct dma_async_tx_descriptor *idma64_prep_slave_sg(