summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-02-12 19:04:12 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-02-12 19:04:12 +0000
commit8b16eba876b8f9b794e5c6dd574d613a8b2db71a (patch)
tree91b8e61a986d95448aef51dee76bcdfea5cc3962 /target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch
parentd0cc86c4886c7c13191beb0fbd9d79d7e23bad9d (diff)
downloadmtk-20170518-8b16eba876b8f9b794e5c6dd574d613a8b2db71a.zip
mtk-20170518-8b16eba876b8f9b794e5c6dd574d613a8b2db71a.tar.gz
mtk-20170518-8b16eba876b8f9b794e5c6dd574d613a8b2db71a.tar.bz2
refresh 2.6.37 patches
SVN-Revision: 25483
Diffstat (limited to 'target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch')
-rw-r--r--target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch b/target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch
index b5ceb47..d03deb8 100644
--- a/target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch
+++ b/target/linux/generic/patches-2.6.37/511-yaffs-git-2010-10-20.patch
@@ -316,7 +316,7 @@
chunk/page state. This byte is zeroed when the page is discarded.
Choose this option if you have existing on-NAND data in this format
that you need to continue to support. New data written also uses the
-@@ -57,7 +78,7 @@ adjusted to use the older-style format.
+@@ -57,7 +78,7 @@ adjusted to use the older-style format.
MTD versions in yaffs_mtdif1.c.
*/
/* Default: Not selected */
@@ -1614,7 +1614,7 @@
yaffs_ECCOther *read_ecc,
const yaffs_ECCOther *test_ecc)
{
-@@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char
+@@ -304,7 +301,7 @@ int yaffs_ECCCorrectOther(unsigned char
if (cDelta & 0x02)
bit |= 0x01;
@@ -1623,7 +1623,7 @@
return -1;
data[lDelta] ^= (1 << bit);
-@@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char
+@@ -312,8 +309,8 @@ int yaffs_ECCCorrectOther(unsigned char
return 1; /* corrected */
}