MIPS: Don't unmap the memory for dma_sync*.
authorDavid Daney <ddaney@caviumnetworks.com>
Sat, 18 Oct 2008 00:48:53 +0000 (17:48 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Oct 2008 16:18:25 +0000 (16:18 +0000)
commitf67ae98352284d7ac1e03f3a872e33c68ea35a5b
tree35f9dce737b2f2855927d10506f605d1d568ab64
parentb517531ce53794f2a2eae1fff1d1216b9db4da9f
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