[PATCH v2] mtd: rawnand: Make sure we wait tWB before polling the STATUS reg

Miquel Raynal miquel.raynal at bootlin.com
Sun May 6 14:56:47 PDT 2018


Hi Boris,

On Fri,  4 May 2018 21:24:31 +0200, Boris Brezillon
<boris.brezillon at bootlin.com> wrote:

> NAND chips require a bit of time to take the NAND operation into
> account and set the BUSY bit in the STATUS reg. Make sure we don't poll
> the STATUS reg too early in nand_soft_waitrdy().
> 
> Fixes: 8878b126df76 ("mtd: nand: add ->exec_op() implementation")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Boris Brezillon <boris.brezillon at bootlin.com>

Acked-by: Miquel Raynal <miquel.raynal at bootlin.com>

Thanks,
Miquèl

-- 
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-mtd mailing list