diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-05-18 17:52:37 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-24 20:39:50 +0200 |
commit | e45a4b652dbd2f8b5a3b8e97e89f602a58cb28aa (patch) | |
tree | 9acd6e680d0ee95bdadd6cd9cb2468167887165b /drivers/cdrom | |
parent | mtd: rawnand: davinci: Get rid of the legacy interface implementation (diff) | |
download | linux-e45a4b652dbd2f8b5a3b8e97e89f602a58cb28aa.tar.xz linux-e45a4b652dbd2f8b5a3b8e97e89f602a58cb28aa.zip |
mtd: rawnand: Fix nand_gpio_waitrdy()
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
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions