aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-06-22 07:42:44 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-06-27 09:48:55 -0400
commit6660f7af52caf6028b36e6a68a21c461f2fb0440 (patch)
treee7a0f4a0af5da83a2e07cf50170641bfe10bff1c /drivers/dma
parent56482ec0b156811eb463576a89a47f89e21f3587 (diff)
dma: tegra: do not set transfer desc flag to DMA_CTRL_ACK in cyclic mode
The sound dmaengine pcm driver uses the dma in cyclic mode and it does not ack the transfer descriptor after transfer stops. This may lead to hold that desc in chip's dma driver and does not allow to reuse/free that descriptors. Hence not enabling flag DMA_CTRL_ACK when dma runs in cyclic mode. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/tegra20-apb-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index 78af256cca9e..ba4d73c525e6 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -1093,7 +1093,7 @@ struct dma_async_tx_descriptor *tegra_dma_prep_dma_cyclic(
1093 mem += len; 1093 mem += len;
1094 } 1094 }
1095 sg_req->last_sg = true; 1095 sg_req->last_sg = true;
1096 dma_desc->txd.flags = DMA_CTRL_ACK; 1096 dma_desc->txd.flags = 0;
1097 1097
1098 /* 1098 /*
1099 * Make sure that mode should not be conflicting with currently 1099 * Make sure that mode should not be conflicting with currently