]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: shdma: extend .device_terminate_all() to record partial transfer
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 18 Feb 2010 16:30:02 +0000 (16:30 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 2 Mar 2010 02:12:03 +0000 (11:12 +0900)
commitc014906a870ce70e009def0c9d170ccabeb0be63
treeb1cfb6520ed0bcdfb0f1b32282b94658a989b04f
parentc8e3149ba7de24dfd4c37bb0df23c878cdecd8d4
dmaengine: shdma: extend .device_terminate_all() to record partial transfer

This patch extends the .device_terminate_all() method of the shdma driver
to return number of bytes transfered in the current descriptor.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dmaengine.h
drivers/dma/shdma.c
drivers/dma/shdma.h