if (ret < 0) {
if (use_bufpoi)
/* Invalidate page cache */
-@@ -3203,8 +3207,11 @@ int nand_erase_nand(struct mtd_info *mtd
+@@ -3206,8 +3210,11 @@ int nand_erase_nand(struct mtd_info *mtd
(page + pages_per_block))
chip->pagebuf = -1;
/*
* See if operation failed and additional status checks are
* available
-@@ -4398,6 +4405,7 @@ int nand_scan_ident(struct mtd_info *mtd
+@@ -4401,6 +4408,7 @@ int nand_scan_ident(struct mtd_info *mtd
* cmdfunc() both expect cmd_ctrl() to be populated,
* so we need to check that that's the case
*/