DMAENGINE: generic slave control v2
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 26 Mar 2010 23:44:01 +0000 (16:44 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 26 Mar 2010 23:44:01 +0000 (16:44 -0700)
commitc3635c78e500a52c9fcd55de381a72928d9e054d
tree87403f402227cd8b5572550e70facf81c9eaa0d9
parent0f65169b1bf44220308e1ce1f6666ad03ddc27af
DMAENGINE: generic slave control v2

Convert the device_terminate_all() operation on the
DMA engine to a generic device_control() operation
which can now optionally support also pausing and
resuming DMA on a certain channel. Implemented for the
COH 901 318 DMAC as an example.

[dan.j.williams@intel.com: update for timberdale]
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Li Yang <leoli@freescale.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Magnus Damm <damm@opensource.se>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Joe Perches <joe@perches.com>
Cc: Roland Dreier <rdreier@cisco.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
15 files changed:
arch/arm/mach-u300/include/mach/coh901318.h
drivers/dma/at_hdmac.c
drivers/dma/coh901318.c
drivers/dma/dmaengine.c
drivers/dma/dw_dmac.c
drivers/dma/fsldma.c
drivers/dma/ipu/ipu_idmac.c
drivers/dma/shdma.c
drivers/dma/timb_dma.c
drivers/dma/txx9dmac.c
drivers/mmc/host/atmel-mci.c
drivers/serial/sh-sci.c
drivers/video/mx3fb.c
include/linux/dmaengine.h
sound/soc/txx9/txx9aclc.c