]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c1c7c0b88a667e4ed49f4f58224de6a840608f0
tree1913a661d292e74ea13e2e1af38b21ef6e5fb1bc
parent9fa460629d557186f2c43d25c56c9e21ee695003
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