]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: Wait for PAGEPROG to finish in drivers setting NAND_ECC_CUSTOM_PAGE_ACCESS
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 16 May 2017 16:27:49 +0000 (18:27 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 1 Jun 2017 08:09:33 +0000 (10:09 +0200)
commit41145649f4acb30249b636b945053db50c9331c5
tree0d1a10e2aae6967ac3401f2217f3f5e8019985dd
parenta186493237a9d8559997c2f97c33c4716d602fd2
mtd: nand: Wait for PAGEPROG to finish in drivers setting NAND_ECC_CUSTOM_PAGE_ACCESS

Drivers setting NAND_ECC_CUSTOM_PAGE_ACCESS are supposed to handle the
full read/write page sequence, and waiting for a page to actually be
programmed is part of this write-page sequence.
This is also what is done in ->write_oob_xxx() hooks, so let's do that in
->write_page_xxx() as well to make it consistent.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/atmel/nand-controller.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_micron.c
drivers/mtd/nand/tango_nand.c