Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310204
b: refs/heads/master
c: 86c2072
h: refs/heads/master
v: v3
  • Loading branch information
Mike Dunn authored and David Woodhouse committed May 14, 2012
1 parent 513dc9e commit 4d45e5e
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 09cbe581e346229e33c48da00439419ff2fe6af7
refs/heads/master: 86c2072be6f3c2150cc35f00233f2c31bdba2745
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 @@ -3487,7 +3487,7 @@ int nand_scan_tail(struct mtd_info *mtd)

/* propagate ecc info to mtd_info */
mtd->ecclayout = chip->ecc.layout;
mtd->ecc_strength = chip->ecc.strength * chip->ecc.steps;
mtd->ecc_strength = chip->ecc.strength;

/* Check, if we should skip the bad block table scan */
if (chip->options & NAND_SKIP_BBTSCAN)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ struct mtd_info {
/* ECC layout structure pointer - read only! */
struct nand_ecclayout *ecclayout;

/* max number of correctible bit errors per writesize */
/* max number of correctible bit errors per ecc step */
unsigned int ecc_strength;

/* Data for variable erase regions. If numeraseregions is zero,
Expand Down

0 comments on commit 4d45e5e

Please sign in to comment.