On Mon, 2020-05-18 at 15:52:37 UTC, Boris Brezillon wrote: > Mimic what's done in nand_soft_waitrdy() and add one to the jiffies > timeout so we don't end up waiting less than actually required. > > Reported-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx> > Fixes: b0e137ad24b6c ("mtd: rawnand: Provide helper for polling GPIO R/B pin") > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> > Reviewed-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/