commit | 85e08e5864458b2e5e25defe2601bd835a42912c | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Jul 27 09:44:17 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Sep 04 22:24:55 2018 +0200 |
tree | 8a6b4e5e336bac0bc5c7953e6a4e8900a1ecbb07 | |
parent | 57361846b52bc686112da6ca5368d11210796804 [diff] |
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>