]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mtd: nand: correct documentation for NAND_ECC_HW8_512
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Fri, 20 Jul 2018 07:53:33 +0000 (09:53 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 23 Jul 2018 15:39:42 +0000 (09:39 -0600)
The documentation for this parameter said "6 bytes" when "8 bytes" was
intended; correct it.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/driver-api/mtdnand.rst

index dcd63599f70024b3aeabc492b7602b83bced8446..c55a6034c397d4e12fc80d064c3f730bc079cdc1 100644 (file)
@@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC.
 
 -  NAND_ECC_HW8_512
 
-   Hardware ECC generator providing 6 bytes ECC per 512 byte.
+   Hardware ECC generator providing 8 bytes ECC per 512 byte.
 
 If your hardware generator has a different functionality add it at the
 appropriate place in nand_base.c
@@ -889,7 +889,7 @@ Use these constants to select the ECC algorithm::
     #define NAND_ECC_HW3_512    3
     /* Hardware ECC 6 byte ECC per 512 Byte data */
     #define NAND_ECC_HW6_512    4
-    /* Hardware ECC 6 byte ECC per 512 Byte data */
+    /* Hardware ECC 8 byte ECC per 512 Byte data */
     #define NAND_ECC_HW8_512    6