projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d44dc2
)
mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome
author
Boris BREZILLON
<b.brezillon.dev@gmail.com>
Sat, 1 Feb 2014 18:10:28 +0000
(19:10 +0100)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:23 +0000
(22:42 -0700)
read_buf is called in place of write_buf in the
nand_write_page_raw_syndrome function.
Signed-off-by: Boris BREZILLON <b.brezillon.dev@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
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
79ed8cc
..
3cb1cef
100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-2002,7
+2002,7
@@
static int nand_write_page_raw_syndrome(struct mtd_info *mtd,
oob += chip->ecc.prepad;
}
- chip->
read
_buf(mtd, oob, eccbytes);
+ chip->
write
_buf(mtd, oob, eccbytes);
oob += eccbytes;
if (chip->ecc.postpad) {