]> 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)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 3 Dec 2021 13:33:45 +0000 (14:33 +0100)
commitbfb4c8e47dccc9624b2672eadc50704300415071
tree77a1b64efa2373e3f536fbd9f2fc243816fd3595
parent237311367141b6874ba4a8eec34e7df834122a1c
mtd: rawnand: fsmc: Take instruction delay into account

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
drivers/mtd/nand/raw/fsmc_nand.c