From c5ded1c93017d434d318dd7daeae79b443dfb379 Mon Sep 17 00:00:00 2001 From: Mike Dunn Date: Tue, 11 Sep 2012 08:59:03 -0700 Subject: [PATCH] --- yaml --- r: 332759 b: refs/heads/master c: 5ca7f41528922c90da3ae3b917dc904047513be2 h: refs/heads/master i: 332757: 57760e2b7754aedbe5f1740607b0ba30f5b70e2e 332755: 648897a3f4638b39411a9347ea62f12ccf07f561 332751: 037f87eb89f50e9c8d4c9593d3586e95ab3d2fae v: v3 --- [refs] | 2 +- trunk/include/linux/mtd/nand.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2af8d01cde1e..ea75afcd6af9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ea73fe7f0d562154975a77fe77ae3da6ab4d3e77 +refs/heads/master: 5ca7f41528922c90da3ae3b917dc904047513be2 diff --git a/trunk/include/linux/mtd/nand.h b/trunk/include/linux/mtd/nand.h index 8f99d3621e12..d245199ccaf3 100644 --- a/trunk/include/linux/mtd/nand.h +++ b/trunk/include/linux/mtd/nand.h @@ -326,8 +326,10 @@ struct nand_hw_control { * @read_page_raw: function to read 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 - * requirements. - * @read_subpage: function to read parts of the page covered by ECC. + * requirements; returns maximum number of bitflips corrected in + * 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 * requirements. * @write_oob_raw: function to write chip OOB data without ECC