diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-05-18 17:52:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 09:33:09 +0200 |
commit | 6a2eb002e4bd84a8fff06709152f694633c2fe80 (patch) | |
tree | 088f602188266a57afe3f90cc675ab8d8c5cf4f7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e0e71bb7852142a18fb829da419013bb6da9ed3f (diff) |
mtd: rawnand: Fix nand_gpio_waitrdy()
commit e45a4b652dbd2f8b5a3b8e97e89f602a58cb28aa upstream.
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@microchip.com>
Fixes: b0e137ad24b6c ("mtd: rawnand: Provide helper for polling GPIO R/B pin")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200518155237.297549-1-boris.brezillon@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions