diff options
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r-- | drivers/dma/imx-sdma.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index d5a5d4d9c19b..cf8cc0b8e7f7 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c | |||
@@ -931,12 +931,6 @@ 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 (sdmac->flags & IMX_DMA_SG_LOOP) { | ||
935 | param |= BD_INTR; | ||
936 | if (i + 1 == sg_len) | ||
937 | param |= BD_WRAP; | ||
938 | } | ||
939 | |||
940 | if (i + 1 == sg_len) | 934 | if (i + 1 == sg_len) |
941 | param |= BD_INTR; | 935 | param |= BD_INTR; |
942 | 936 | ||