Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33627
b: refs/heads/master
c: 7fd5aec
h: refs/heads/master
i:
  33625: e5c9203
  33623: 7b125e0
v: v3
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Aug 27, 2006
1 parent 1e4f1be commit 8bf6b63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 6946bd636364effce06ea46fe8f8cd6e2edb004e
refs/heads/master: 7fd5aecc5d32882f8e29b14370e9ce2520e7e56f
6 changes: 4 additions & 2 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,9 +1093,10 @@ static int nand_read(struct mtd_info *mtd, loff_t from, size_t len,

ret = nand_do_read_ops(mtd, from, &chip->ops);

*retlen = chip->ops.retlen;

nand_release_device(mtd);

*retlen = chip->ops.retlen;
return ret;
}

Expand Down Expand Up @@ -1691,9 +1692,10 @@ static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,

ret = nand_do_write_ops(mtd, to, &chip->ops);

*retlen = chip->ops.retlen;

nand_release_device(mtd);

*retlen = chip->ops.retlen;
return ret;
}

Expand Down

0 comments on commit 8bf6b63

Please sign in to comment.