diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-03-14 01:47:44 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-03-14 01:47:44 -0400 |
commit | 8795d1432846eda999370ce51140e23d6df1f35c (patch) | |
tree | 676ddb8bfbbf36a1dda3fb69f747e1ea527b5026 | |
parent | 9f2f4956edf3deb93b1d805ce7ef46b7bff7f5ce (diff) | |
parent | 8e2067be0aa71d119ade237c5351245aff78e024 (diff) |
Merge branch 'topic/idma' into for-linus
-rw-r--r-- | drivers/dma/idma64.c | 3 | ||||
-rw-r--r-- | drivers/dma/idma64.h | 2 |
2 files changed, 4 insertions, 1 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, | |||
289 | 289 | ||
290 | /* Trigger an interrupt after the last block is transfered */ | 290 | /* Trigger an interrupt after the last block is transfered */ |
291 | lli->ctllo |= IDMA64C_CTLL_INT_EN; | 291 | lli->ctllo |= IDMA64C_CTLL_INT_EN; |
292 | |||
293 | /* Disable LLP transfer in the last block */ | ||
294 | lli->ctllo &= ~(IDMA64C_CTLL_LLP_S_EN | IDMA64C_CTLL_LLP_D_EN); | ||
292 | } | 295 | } |
293 | 296 | ||
294 | static struct dma_async_tx_descriptor *idma64_prep_slave_sg( | 297 | static struct dma_async_tx_descriptor *idma64_prep_slave_sg( |
diff --git a/drivers/dma/idma64.h b/drivers/dma/idma64.h index 8423f13ed0da..dc6874424188 100644 --- a/drivers/dma/idma64.h +++ b/drivers/dma/idma64.h | |||
@@ -71,7 +71,7 @@ | |||
71 | #define IDMA64C_CFGH_SRC_PER(x) ((x) << 0) /* src peripheral */ | 71 | #define IDMA64C_CFGH_SRC_PER(x) ((x) << 0) /* src peripheral */ |
72 | #define IDMA64C_CFGH_DST_PER(x) ((x) << 4) /* dst peripheral */ | 72 | #define IDMA64C_CFGH_DST_PER(x) ((x) << 4) /* dst peripheral */ |
73 | #define IDMA64C_CFGH_RD_ISSUE_THD(x) ((x) << 8) | 73 | #define IDMA64C_CFGH_RD_ISSUE_THD(x) ((x) << 8) |
74 | #define IDMA64C_CFGH_RW_ISSUE_THD(x) ((x) << 18) | 74 | #define IDMA64C_CFGH_WR_ISSUE_THD(x) ((x) << 18) |
75 | 75 | ||
76 | /* Interrupt registers */ | 76 | /* Interrupt registers */ |
77 | 77 | ||