Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347204
b: refs/heads/master
c: d1f3b65
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Williams authored and Artem Bityutskiy committed Dec 3, 2012
1 parent fcc7435 commit c22017d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 7bf350b7245b40fe6a57b79ec4a04c85195dc648
refs/heads/master: d1f3b65d2d6fdb4bf0edd4b67e86e191af48daee
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/cs553x_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
this->ecc.hwctl = cs_enable_hwecc;
this->ecc.calculate = cs_calculate_ecc;
this->ecc.correct = nand_correct_data;
this->ecc.strength = 1;

/* Enable the following for a flash based bad block table */
this->bbt_options = NAND_BBT_USE_FLASH;
Expand All @@ -247,8 +248,6 @@ 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;
Expand Down

0 comments on commit c22017d

Please sign in to comment.