]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb046bed53c8ed5d27c0f6433f03ed25122e20ba7
tree5299d692fb4e9175b7b3e89fce9e9d62acb29326
parent7597fa6cd8d06eb4ef0d2e406904447f0e6366da
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: a5734af90fe3e (" 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