mtd: onenand: omap2: Disable DMA for HIGHMEM buffers
authorLadislav Michl <ladis@linux-mips.org>
Wed, 2 May 2018 10:41:32 +0000 (12:41 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
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 <ladis@linux-mips.org>
Reported-by: "H. Nikolaus Schaller" <hns@goldelico.com>
Tested-by: "H. Nikolaus Schaller" <hns@goldelico.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/onenand/omap2.c