diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-06-28 16:28:58 -0700 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 15:02:14 +0300 |
commit | 903cd06cd6ece7f9050a3ad5b03e0b76be2882ff (patch) | |
tree | a538b351316987ddcef8dd28fb31b9e1bbd7a910 /drivers/mtd/tests | |
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>
Diffstat (limited to 'drivers/mtd/tests')
0 files changed, 0 insertions, 0 deletions