projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c2dae
)
[MTD NAND] Fix in typo ndfc.c causing wrong ECC layout
author
Frank Haverkamp
<haver@vnet.ibm.com>
Wed, 20 Sep 2006 15:24:52 +0000
(17:24 +0200)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 22 Sep 2006 09:30:25 +0000
(10:30 +0100)
Due to this typo, a wrong ECC layout table is chosen.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/ndfc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/ndfc.c
b/drivers/mtd/nand/ndfc.c
index e5bd88f2d560ae3966fe5169c6885c5c0d4d235f..039c759cfbfc5b1e1f28cf607b057d5cfe1fbfe7 100644
(file)
--- a/
drivers/mtd/nand/ndfc.c
+++ b/
drivers/mtd/nand/ndfc.c
@@
-168,7
+168,7
@@
static void ndfc_chip_init(struct ndfc_nand_mtd *mtd)
chip->ecc.mode = NAND_ECC_HW;
chip->ecc.size = 256;
chip->ecc.bytes = 3;
- chip->ecclayout = mtd->pl_chip->ecclayout;
+ chip->ecclayout =
chip->ecc.layout =
mtd->pl_chip->ecclayout;
mtd->mtd.priv = chip;
mtd->mtd.owner = THIS_MODULE;
}