diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-01-19 07:24:55 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-08 09:38:35 +0900 |
commit | fc4618575f79eea062cdc51715040e40cd35b71c (patch) | |
tree | 86c3024f48db02b9f5e391d3f0a3aa787fa89375 /arch | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) |
sh: prepare the DMA driver for slave functionality
Slave DMA functionality uses scatter-gather arrays for data transfers,
whereas memcpy just uses a single data buffer. This patch converts the
current memcpy implementation in shdma.c to use scatter-gather, making it
just a special case with one SG-element. This allows us to isolate
descriptor list manipulations and locking into one function, thus reducing
error chances.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions