dma: mxs-dma: Report correct residue for cyclic DMA
authorMarkus Pargmann <mpa@pengutronix.de>
Tue, 29 Oct 2013 07:47:46 +0000 (08:47 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Nov 2013 10:08:30 +0000 (15:38 +0530)
commit7b11304a3c11a24a8674a47e8fd136182f86b49d
tree3d0db41ab357e9b9f4f38c56ab2d6cf1832df2c0
parentb2d639890b0d3379e844f6bb3c90d67ab292c80b
dma: mxs-dma: Report correct residue for cyclic DMA

Use the channel's buffer address register to calculate correct residue
value for tx_status.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c