ASoC: Tegra: return accurate pcm pointer position
authorSumit Bhattacharya <sumitb@nvidia.com>
Wed, 7 Dec 2011 14:50:43 +0000 (19:50 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 15 Dec 2011 06:19:06 +0000 (11:19 +0530)
commitcdd76764cc44d9b6091672af235d52a377a0a4d2
tree35eebf8a14892a76df3b1ea1960d5b34c6394dd5
parent6212a204e86486daf1c870f207d41c32c79b06a9
ASoC: Tegra: return accurate pcm pointer position

Use DMA driver tegra_dma_get_transfer_count api to get current DMA
position and use it to return accurate PCM poiter position.

Change-Id: I28906a1f2dd47dd91f03b8a79f53196752be6083
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/68692
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
sound/soc/tegra/tegra_pcm.c