diff options
| author | Mike Dunn <mikedunn@newsguy.com> | 2012-09-11 11:59:03 -0400 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 10:53:15 -0400 |
| commit | 5ca7f41528922c90da3ae3b917dc904047513be2 (patch) | |
| tree | 51185cf8d73d774f9ed46cbd3353d15fd4d07646 /include/linux | |
| parent | ea73fe7f0d562154975a77fe77ae3da6ab4d3e77 (diff) | |
mtd: nand: expand description of read_page method in comment header
In the absence of any formal documentation of the nand interface, I thought this
patch to the header file might be helpful.
Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/nand.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 8f99d3621e12..d245199ccaf3 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
| @@ -326,8 +326,10 @@ struct nand_hw_control { | |||
| 326 | * @read_page_raw: function to read a raw page without ECC | 326 | * @read_page_raw: function to read a raw page without ECC |
| 327 | * @write_page_raw: function to write a raw page without ECC | 327 | * @write_page_raw: function to write a raw page without ECC |
| 328 | * @read_page: function to read a page according to the ECC generator | 328 | * @read_page: function to read a page according to the ECC generator |
| 329 | * requirements. | 329 | * requirements; returns maximum number of bitflips corrected in |
| 330 | * @read_subpage: function to read parts of the page covered by ECC. | 330 | * any single ECC step, 0 if bitflips uncorrectable, -EIO hw error |
| 331 | * @read_subpage: function to read parts of the page covered by ECC; | ||
| 332 | * returns same as read_page() | ||
| 331 | * @write_page: function to write a page according to the ECC generator | 333 | * @write_page: function to write a page according to the ECC generator |
| 332 | * requirements. | 334 | * requirements. |
| 333 | * @write_oob_raw: function to write chip OOB data without ECC | 335 | * @write_oob_raw: function to write chip OOB data without ECC |
