dmaengine: imx-dma: remove 'resbytes' field of 'internal' structure.
authorJavier Martin <javier.martin@vista-silicon.com>
Thu, 22 Mar 2012 13:54:09 +0000 (14:54 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 26 Mar 2012 06:01:31 +0000 (11:31 +0530)
commit6b0e2f55e3ebc7089abf5e4770f03fb264b6d2ea
tree689c8a182a49d11f5f86fef9e2914e789692bbdf
parente4756b5e068d866239b6880a7030c9d31400b254
dmaengine: imx-dma: remove 'resbytes' field of 'internal' structure.

Use per-descriptor 'len' field to keep track of the remaining bytes
instead. This goes on the direction of eventually removing the
'internal' structure.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-dma.c