adma: tegra: report precise dma position
authorRavindra Lokhande <rlokhande@nvidia.com>
Tue, 23 Feb 2016 11:49:53 +0000 (16:49 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 29 Feb 2016 14:38:16 +0000 (06:38 -0800)
commitaa8a80b5fea8b21fea4c16cf4e10a2319797e22b
tree163fab5bdf7e467d7eabfe46b5687cd4dad213f0
parent362a6cc650656cfad50a2e1a9ca87ac812330a29
adma: tegra: report precise dma position

Earlier dma position is reported for buffers for which interrupt is
received. Current buffer transfered bytes are ignored. This change
adds current buffer transferred data to report more precise dma
position.

Change-Id: I5d246d44f6f572951918aebbd31121c83188dfdd
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/1018161
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
drivers/dma/tegra210-adma.c