commit | 903cd06cd6ece7f9050a3ad5b03e0b76be2882ff | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Tue Jun 28 16:28:58 2011 -0700 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:02:14 2011 +0300 |
tree | a538b351316987ddcef8dd28fb31b9e1bbd7a910 | |
parent | 51b11e3630672b7ce8793ecf13e5759656edf38a [diff] |
mtd: nand: ignore ECC errors for simple BBM scans Now that nand_do_readoob() may return -EUCLEAN or -EBADMSG on ECC errors, we need to handle the return value specially in some cases. When scanning for simple bad block markers, reacting to an ECC error is not very useful, as we assume that the relevant markers are still non-0xFF for true bad blocks. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>