Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165482
b: refs/heads/master
c: 76c23c3
h: refs/heads/master
v: v3
  • Loading branch information
Feng Kan authored and David Woodhouse committed Sep 19, 2009
1 parent 9dc99c7 commit fb7acac
Show file tree
Hide file tree
Showing 2 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: ebd5a74db74ee2db833d43ea35108a4be9cab42f
refs/heads/master: 76c23c32e3b3ad48e07e07897075ab19ae1ef117
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/ndfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ static int ndfc_calculate_ecc(struct mtd_info *mtd,
wmb();
ecc = in_be32(ndfc->ndfcbase + NDFC_ECC);
/* The NDFC uses Smart Media (SMC) bytes order */
ecc_code[0] = p[2];
ecc_code[1] = p[1];
ecc_code[0] = p[1];
ecc_code[1] = p[2];
ecc_code[2] = p[3];

return 0;
Expand Down

0 comments on commit fb7acac

Please sign in to comment.