diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/imx-sdma.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index cf93d1737f1e..4535f98b3553 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c | |||
@@ -931,8 +931,11 @@ static struct dma_async_tx_descriptor *sdma_prep_slave_sg( | |||
931 | 931 | ||
932 | param = BD_DONE | BD_EXTD | BD_CONT; | 932 | param = BD_DONE | BD_EXTD | BD_CONT; |
933 | 933 | ||
934 | if (i + 1 == sg_len) | 934 | if (i + 1 == sg_len) { |
935 | param |= BD_INTR; | 935 | param |= BD_INTR; |
936 | param |= BD_LAST; | ||
937 | param &= ~BD_CONT; | ||
938 | } | ||
936 | 939 | ||
937 | dev_dbg(sdma->dev, "entry %d: count: %d dma: 0x%08x %s%s\n", | 940 | dev_dbg(sdma->dev, "entry %d: count: %d dma: 0x%08x %s%s\n", |
938 | i, count, sg->dma_address, | 941 | i, count, sg->dma_address, |