projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bfeb69
)
[MTD] Fix thinko in nand_write_page_hwecc()
author
David Woodhouse
<dwmw2@infradead.org>
Fri, 26 May 2006 22:05:44 +0000
(23:05 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 26 May 2006 22:05:44 +0000
(23:05 +0100)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index
cead9fc
..
bb18476
100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-1233,7
+1233,7
@@
static void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
chip->ecc.hwctl(mtd, NAND_ECC_WRITE);
- chip->write_buf(mtd, p,
mtd->write
size);
+ chip->write_buf(mtd, p,
ecc
size);
chip->ecc.calculate(mtd, p, &ecc_calc[i]);
}