MIPS: Don't unmap the memory for dma_sync*.
commitcab18e34253ef83119d9883dd036930fd01959d4
authorDavid Daney <ddaney@caviumnetworks.com>
Sat, 18 Oct 2008 00:48:53 +0000 (17 17:48 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 18 Oct 2008 10:54:45 +0000 (18 11:54 +0100)
tree8dd984799c612d04438302a716c581d895c5da2c
parentf776b4f93bb4aa02f7039c66557e3e9e775255f4
MIPS: Don't unmap the memory for dma_sync*.

We were getting away with this for so long only because the only platform
with a non-empty plat_unmap_dma_mem() doesn't call dma_sync_sg_for_cpu()
and dma_sync_sg_for_device() from its commonly used drivers.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c