]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: sirf: set dma residue based on the current dma transfer position
authorRongjun Ying <Rongjun.Ying@csr.com>
Tue, 14 May 2013 15:03:20 +0000 (23:03 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 12 Jun 2013 02:18:53 +0000 (07:48 +0530)
commit615cc96ddb61b32a6b091116050fdb506c742332
tree8c9d3e132b09d55e35a041455c50786f24be5575
parente914746058444209faf0dfec14fb45d77a6db477
dmaengine: sirf: set dma residue based on the current dma transfer position

read SIRFSOC_DMA_CH_ADDR register to get current dma transfer position, then
update dma residue so that things like ALSA drivers work as ALSA drivers need
the right residue value.

Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sirf-dma.c