diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index eb88d8b04262..512066e3d143 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -2118,6 +2118,9 @@ static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, | |||
2118 | 2118 | ||
2119 | if (chip->verify_buf(mtd, buf, mtd->writesize)) | 2119 | if (chip->verify_buf(mtd, buf, mtd->writesize)) |
2120 | return -EIO; | 2120 | return -EIO; |
2121 | |||
2122 | /* Make sure the next page prog is preceded by a status read */ | ||
2123 | chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); | ||
2121 | #endif | 2124 | #endif |
2122 | return 0; | 2125 | return 0; |
2123 | } | 2126 | } |