ARM: PL08x: implement unmapping of memcpy buffers
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:44:16 +0000 (22:44 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:14 +0000 (19:16 -0800)
commit3d992e1a6f8465db3921ef75bfc490fbd2f40cd3
tree4d7935045ef1654777754360f319c093f5f041e8
parentc04287948ec8308fceedda980373bc7d53620255
ARM: PL08x: implement unmapping of memcpy buffers

The DMA engine API requires DMA engine implementations to unmap buffers
passed into the non-slave DMA methods unless the relevant completion
flag is set.  We aren't doing this, so implement this facility.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c