Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68531
b: refs/heads/master
c: 49defc0
h: refs/heads/master
i:
  68529: 0c873f9
  68527: 4a41e5c
v: v3
  • Loading branch information
David Woodhouse committed Oct 6, 2007
1 parent e6502a8 commit e17c264
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fcf8ce51e7acc4b66904c4e159690c9467606b5
refs/heads/master: 49defc015ff58fda46a3afa3462dfdfa69bc8401
7 changes: 4 additions & 3 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2069,13 +2069,14 @@ int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
erase_exit:

ret = instr->state == MTD_ERASE_DONE ? 0 : -EIO;
/* Do call back function */
if (!ret)
mtd_erase_callback(instr);

/* Deselect and wake up anyone waiting on the device */
nand_release_device(mtd);

/* Do call back function */
if (!ret)
mtd_erase_callback(instr);

/*
* If BBT requires refresh and erase was successful, rewrite any
* selected bad block tables
Expand Down

0 comments on commit e17c264

Please sign in to comment.