projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bae4ce
)
dmaengine: imx-sdma: remove IMX_DMA_SG_LOOP handling in sdma_prep_slave_sg()
author
Shawn Guo
<shawn.guo@freescale.com>
Wed, 19 Jan 2011 21:50:35 +0000
(
05:50
+0800)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 31 Jan 2011 11:41:43 +0000
(12:41 +0100)
This is a leftover from the time that the driver did not have
sdma_prep_dma_cyclic callback and implemented sound dma as a looped
sg chain. And it can be removed now.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index d5a5d4d9c19bb9efc3dd084e2961fd99d1d098f6..cf8cc0b8e7f70ad433e35b30ac05da49d1ca0ef8 100644
(file)
--- 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(
param = BD_DONE | BD_EXTD | BD_CONT;
- if (sdmac->flags & IMX_DMA_SG_LOOP) {
- param |= BD_INTR;
- if (i + 1 == sg_len)
- param |= BD_WRAP;
- }
-
if (i + 1 == sg_len)
param |= BD_INTR;