mtd: nand: omap2: Fix high memory dma prefetch transfer
authorCooper Jr., Franklin <fcooper@ti.com>
Fri, 15 Apr 2016 20:28:59 +0000 (15:28 -0500)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:52:01 +0000 (23:52 +0200)
commit8c6f0fc4d2d505b17fc67675f0797fe3fc6e6c26
tree3a337a1de2334eedb494501aeaf264aaa2892ef2
parent03d3a1df6da660999d8f14552ac4d875e94090a3
mtd: nand: omap2: Fix high memory dma prefetch transfer

Based on DMA documentation and testing using high memory buffer when doing
dma transfers can lead to various issues including kernel panics.

To workaround this simply use cpu copy.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/omap2.c