dmaengine: shdma: restore partial transfer calculation
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 30 Jul 2012 19:28:27 +0000 (21:28 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 1 Aug 2012 04:48:52 +0000 (13:48 +0900)
commit4f46f8ac80416b0e8fd3aba6a0d842205fb29140
tree1913a661d292e74ea13e2e1af38b21ef6e5fb1bc
parentac694dbdbc403c00e2c14d10bc7b8412cc378259
dmaengine: shdma: restore partial transfer calculation

The recent shdma driver split has mistakenly removed support for partial
DMA transfer size calculation on forced termination. This patch restores
it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/sh/shdma-base.c
drivers/dma/sh/shdma.c
include/linux/shdma-base.h