mtd: onenand: omap2: Disable DMA for HIGHMEM buffers
authorLadislav Michl <[email protected]>
Wed, 2 May 2018 10:41:32 +0000 (12:41 +0200)
committerBoris Brezillon <[email protected]>
Wed, 2 May 2018 13:17:18 +0000 (15:17 +0200)
commit6732cfd4cac514b556f36b518670af91c8bdf19a
tree628fd72e2b4ea3398cb71ef87e9bdd1a4c8da4e1
parent6da6c0db5316275015e8cc2959f12a17584aeb64
mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

dma_map_single does not work for vmalloc-ed buffers,
so disable DMA in this case.

Signed-off-by: Ladislav Michl <[email protected]>
Reported-by: "H. Nikolaus Schaller" <[email protected]>
Tested-by: "H. Nikolaus Schaller" <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
drivers/mtd/nand/onenand/omap2.c