spi: tegra: Use tegra_dma_cancel() to abort request
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 22 Mar 2012 10:03:52 +0000 (15:03 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 5 Apr 2012 15:40:31 +0000 (08:40 -0700)
commit4ac93630c1c9482b8b99f6c6071754e0721dde7f
tree9ffc745a6cc8a1d944c68f59a76e4a7900e64f23
parent4f7cac2afefe67fe4bc86becd5970437f12d7e0c
spi: tegra: Use tegra_dma_cancel() to abort request

To terminate request from dma, use the tegra_dma_cancel() inplace of
tegra_dma_dequeue().
The api tegra_dma_dequeue() is getting to be obsolete.

Change-Id: I297e67433a2118377ecb9b028dcf8fa82e09f0e2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/91752
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Tested-by: Ashwini Ghuge <aghuge@nvidia.com>
drivers/spi/spi-tegra.c
drivers/spi/spi_slave_tegra.c