diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-27 10:44:17 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-09-04 23:24:55 +0300 |
commit | 85e08e5864458b2e5e25defe2601bd835a42912c (patch) | |
tree | 8a6b4e5e336bac0bc5c7953e6a4e8900a1ecbb07 /drivers/mtd/nand/raw/socrates_nand.c | |
parent | 57361846b52bc686112da6ca5368d11210796804 (diff) | |
download | linux-85e08e5864458b2e5e25defe2601bd835a42912c.tar.xz |
mtd: rawnand: Add the nand_wait_readrdy() helper and use it
The logic to wait for chip readiness after a page read has been
duplicated in nand_do_read_ops() and nand_do_read_oob(). Provide an
helper that does the right thing and call it where appropriate.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/socrates_nand.c')
0 files changed, 0 insertions, 0 deletions