spi: tegra: slink: do not prepare dma transfer with DMA_CTRL_ACK flag
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 23 Nov 2012 09:22:39 +0000 (14:52 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 13:34:44 +0000 (14:34 +0100)
commitfaa98f7ea6c720beec8a800c9ac6975f760467e2
tree2a5f58b598e92e4b540194759ac0ab6cc8e79bac
parent8179bb2655b607d4c3e8cea10a60eb3cf8557b63
spi: tegra: slink: do not prepare dma transfer with DMA_CTRL_ACK flag

Spi starts transfer using dma with DMA_CTRL_ACK which is not require
becasue spi driver does not use completed dma_desc after transfer
done and so it does not ack the dma descriptor. Removing the
DMA_CTRL_ACK flag to avoid memory leak in dma driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-tegra20-slink.c