mtd: onenand: omap2: Pass correct flags for prep_dma_memcpy
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 7 Jan 2020 08:45:44 +0000 (10:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 9 Jan 2020 19:09:29 +0000 (20:09 +0100)
commit8bcef0d54067077cf9a6cb129022c77559926e8c
tree5299d692fb4e9175b7b3e89fce9e9d62acb29326
parent14ebf24175df0f216256c8483ee2974f35a1a89c
mtd: onenand: omap2: Pass correct flags for prep_dma_memcpy

The commit converting the driver to DMAengine was missing the flags for
the memcpy prepare call.
It went unnoticed since the omap-dma driver was ignoring them.

Fixes: 3ed6a4d1de2c5 (" mtd: onenand: omap2: Convert to use dmaengine for memcp")
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/omap2.c