Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45637
b: refs/heads/master
c: ff0dab6
h: refs/heads/master
i:
  45635: 190ae0d
v: v3
  • Loading branch information
Ricard Wanderlöf authored and David Woodhouse committed Oct 26, 2006
1 parent 09b6e02 commit 9fbab94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 784f4d5e66ac1d962091e08fe5a4b238ed8c793d
refs/heads/master: ff0dab64b4e9ce3a073365342297e76ddaae9697
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
* access
*/
ofs += mtd->oobsize;
chip->ops.len = 2;
chip->ops.len = chip->ops.ooblen = 2;
chip->ops.datbuf = NULL;
chip->ops.oobbuf = buf;
chip->ops.ooboffs = chip->badblockpos & ~0x01;
Expand Down

0 comments on commit 9fbab94

Please sign in to comment.