mtd: rawnand: omap2: fix force_8bit flag behaviour for DMA mode
authorRoger Quadros <rogerq@kernel.org>
Thu, 9 Dec 2021 09:04:57 +0000 (11:04 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 17 Dec 2021 10:26:03 +0000 (11:26 +0100)
commit4695a3cf004a44a8d196d7c2f23d46efca0f92e3
tree91336e0031696cc5a2d2d02c2e8bfb2310790813
parent0137c74ad87316305599df8ada54de5273d868ec
mtd: rawnand: omap2: fix force_8bit flag behaviour for DMA mode

In DMA mode we were not considering the force_8bit flag.

Fix it by using regular non-DMA 8-bit I/O if force_8bit flag is set.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211209090458.24830-6-rogerq@kernel.org
drivers/mtd/nand/raw/omap2.c