projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.infradead.org/mtd-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
nand
/
sm_common.c
diff --git
a/drivers/mtd/nand/sm_common.c
b/drivers/mtd/nand/sm_common.c
index 43469715b3fa1f9ef9c34017b13e0768aeef64e2..32ae5af7444f6a28d26e02a7ff6b53efc7e31bde 100644
(file)
--- a/
drivers/mtd/nand/sm_common.c
+++ b/
drivers/mtd/nand/sm_common.c
@@
-48,7
+48,7
@@
static int sm_block_markbad(struct mtd_info *mtd, loff_t ofs)
/* As long as this function is called on erase block boundaries
it will work correctly for 256 byte nand */
- ops.mode = MTD_O
OB_PLACE
;
+ ops.mode = MTD_O
PS_PLACE_OOB
;
ops.ooboffs = 0;
ops.ooblen = mtd->oobsize;
ops.oobbuf = (void *)&oob;