]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: fsmc: Take instruction delay into account
authorHerve Codina <herve.codina@bootlin.com>
Fri, 19 Nov 2021 15:03:15 +0000 (16:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:18 +0000 (10:57 +0100)
commitd319f052b93252984f714f3d4a5573c9dc0e939c
treee6c3a8bbc82f4bfd1ea537b3b4de290bf39e2b05
parent95f1bf0bcb29c8ed3ca5a10fe061f069f077206a
mtd: rawnand: fsmc: Take instruction delay into account

commit bfb4c8e47dccc9624b2672eadc50704300415071 upstream.

The FSMC NAND controller should apply a delay after the
instruction has been issued on the bus.
The FSMC NAND controller driver did not handle this delay.

Add this waiting delay in the FSMC NAND controller driver.

Fixes: f5b5ddf227bd ("mtd: nand: fsmc: use ->exec_op()")
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211119150316.43080-4-herve.codina@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/raw/fsmc_nand.c