]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dma: sh_dma: not all SH DMAC implementations support MEMCPY
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 18 Jan 2012 09:14:25 +0000 (10:14 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 1 Feb 2012 16:53:53 +0000 (22:23 +0530)
commite9c8d7a03e69093e4c33c5056a45c1233a42e8a4
treeb9a37c891db8e273bf9ff177d4be00ec5050393a
parenta5044cddad2fba36c725a019a6cd0e3f286b13d0
dma: sh_dma: not all SH DMAC implementations support MEMCPY

Add a flag to allow platforms to specify, whether a DMAC instance supports
the MEMCPY operation. To avoid regressions, preserve the current default.

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