Skip to content

Commit

Permalink
[MTD] NAND: Correct setting of chip->oob_poi OOB buffer
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Oct 22, 2006
1 parent 7dcdcbe commit 784f4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ int nand_scan_tail(struct mtd_info *mtd)
return -ENOMEM;

/* Set the internal oob buffer location, just after the page data */
chip->oob_poi = chip->buffers + mtd->writesize;
chip->oob_poi = chip->buffers->databuf + mtd->writesize;

/*
* If no default placement scheme is given, select an appropriate one
Expand Down

0 comments on commit 784f4d5

Please sign in to comment.