projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: flash drivers set ecc strength
[linux-block.git]
/
drivers
/
mtd
/
nand
/
cs553x_nand.c
diff --git
a/drivers/mtd/nand/cs553x_nand.c
b/drivers/mtd/nand/cs553x_nand.c
index e2b7c9e4c5c2cb677b670cca433324919d79d8a3..821c34c6250021246dfdb7ef97a44e497a05726c 100644
(file)
--- a/
drivers/mtd/nand/cs553x_nand.c
+++ b/
drivers/mtd/nand/cs553x_nand.c
@@
-248,6
+248,8
@@
static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
goto out_ior;
}
+ this->ecc.strength = 1;
+
new_mtd->name = kasprintf(GFP_KERNEL, "cs553x_nand_cs%d", cs);
cs553x_mtd[cs] = new_mtd;