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)
committerSimone Willett <swillett@nvidia.com>
Wed, 4 Apr 2012 00:51:51 +0000 (17:51 -0700)
commit668d6d94a7085518fc84c3809b2ba6048eea431f
tree2220a74e50556343b928b4cb0673ab57b296f2dc
parent7ddd7f619e68d0c1fc8665e6a9b72db292ac752a
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