Commit 5ca7f415 authored by Mike Dunn's avatar Mike Dunn Committed by David Woodhouse

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: default avatarMike Dunn <mikedunn@newsguy.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent ea73fe7f
...@@ -326,8 +326,10 @@ struct nand_hw_control { ...@@ -326,8 +326,10 @@ struct nand_hw_control {
* @read_page_raw: function to read a raw page without ECC * @read_page_raw: function to read a raw page without ECC
* @write_page_raw: function to write a raw page without ECC * @write_page_raw: function to write a raw page without ECC
* @read_page: function to read a page according to the ECC generator * @read_page: function to read a page according to the ECC generator
* requirements. * requirements; returns maximum number of bitflips corrected in
* @read_subpage: function to read parts of the page covered by ECC. * any single ECC step, 0 if bitflips uncorrectable, -EIO hw error
* @read_subpage: function to read parts of the page covered by ECC;
* returns same as read_page()
* @write_page: function to write a page according to the ECC generator * @write_page: function to write a page according to the ECC generator
* requirements. * requirements.
* @write_oob_raw: function to write chip OOB data without ECC * @write_oob_raw: function to write chip OOB data without ECC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment