DMA: txx9dmac: use dma_unmap_single if DMA_COMPL_{SRC,DEST}_UNMAP_SINGLE set
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 17 Jun 2009 20:08:31 +0000 (13:08 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 24 Jun 2009 17:34:40 +0000 (18:34 +0100)
commit4ac4aa5cc3b00cc558575065ae71043e92d1a69a
tree77000115ec386bca50c5519e3695799ebb6915b8
parent2e25406fb878e2313a9d8e302ed7ff3c2831198f
DMA: txx9dmac: use dma_unmap_single if DMA_COMPL_{SRC,DEST}_UNMAP_SINGLE set

This patch does not change actual behaviour since dma_unmap_page is just
an alias of dma_unmap_single on MIPS.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/dma/txx9dmac.c