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>
Fri, 5 Jul 2013 06:10:39 +0000 (11:40 +0530)
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>

No differences found