arm:lpc313x: NAND Flash driver DMA buffer mapping fixes
authorBangaragiri G <bangaragiri.g@nxp.com>
Tue, 10 Jan 2012 11:13:55 +0000 (11:13 +0000)
committerBangaragiri G <bangaragiri.g@nxp.com>
Tue, 10 Jan 2012 11:13:55 +0000 (11:13 +0000)
commit644b74b9f3fb2444143fdc976654225108e2f12e
tree9fa5ad5359a02bc6c6598adda04cf0b3675566b4
parent7ef80126eec0f6fc3c02356fabe33a74394f30e2
arm:lpc313x: NAND Flash driver DMA buffer mapping fixes

The kmalloced user buffer will be dma mapped using
dma_map_single. For vmalloced buffers, the data is transfered
using driver DMA buffer.

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>
drivers/mtd/nand/lpc313x_nand.c