ARM: tegra: dma: Update actual bytes_transferred in dma cancel
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 21 Mar 2012 12:24:21 +0000 (17:24 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 04:46:16 +0000 (09:46 +0530)
commit744f18a92fb1bf6f40c5bc8030784b9209b02ae6
tree23a700b683eade4140a86fa98b8b44ba8d511232
parent56266757030580c8ebcd0cb71ce77482da6dd29b
ARM: tegra: dma: Update actual bytes_transferred in dma cancel

When canceling dma, updating actual bytes transferred by dma,
making all requests status to aborted and deleting from channel
request queue.

Change-Id: I860780814340d54465de5b2ae11a6895319f428c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/90815
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/mach-tegra/dma.c
arch/arm/mach-tegra/include/mach/dma.h