mtd: OneNAND: S5PC110: Fix wrong DMA handling when HIGHMEM
authorKyungmin Park <kyungmin.park@samsung.com>
Tue, 28 Sep 2010 10:27:10 +0000 (19:27 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 23:51:33 +0000 (00:51 +0100)
commitdcf08227e964a53a2cb39130b74842c7dcb6adde
tree76afbe6cec8de927c0f120beaa0b32eb0675ce2d
parentaa6d1c0e15948894978b342da45d91f5a2af9933
mtd: OneNAND: S5PC110: Fix wrong DMA handling when HIGHMEM

When use HIGHMEM, dma_map_single doesn't get the proper DMA address.
So use the dma_map_page in this case.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/samsung.c