diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-30 20:32:04 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-06 18:48:20 -0800 |
commit | 40cbe6eee97b706f27bcc4c6aa1018bbe4f1e577 (patch) | |
tree | 6f35750b4b83b5e709569d3e6fbbae74fb19352b /net/sunrpc/xdr.c | |
parent | 6e9411923b8f4c0e568cbae0f35b7ee4eb989914 (diff) |
mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions
The default NAND read functions are relying on the underlying controller
driver to correct bitflips, but some of those controllers cannot properly
fix bitflips in erased pages.
Check for bitflips in erased pages in default core functions if the driver
delegated the this check by setting the NAND_ECC_GENERIC_ERASED_CHECK flag.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Franklin S Cooper Jr. <fcooper@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'net/sunrpc/xdr.c')
0 files changed, 0 insertions, 0 deletions