linux-stable/drivers/mtd/nand/brcmnand
Albert Hsieh e44b9a9c13 mtd: nand: brcmnand: Zero bitflip is not an error
A negative return value of brcmstb_nand_verify_erased_page() indicates a
real bitflip error of an erased page, and other return values (>= 0) show
the corrected bitflip number. Zero return value means no bitflip, but the
current driver code treats it as an error, and eventually leads to
falsely reported ECC error.

Fixes: 02b88eea9f ("mtd: brcmnand: Add check for erased page bitflip")
Signed-off-by: Albert Hsieh <wen.hsieh@broadcom.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2017-12-15 22:26:48 +01:00
..
bcm6368_nand.c mtd: brcmnand: defer to devm_ioremap_resource() for error checking 2015-12-10 13:08:08 -08:00
bcm63138_nand.c mtd: brcmnand: refactor bcm63138 SoC layering 2015-09-30 13:07:01 -07:00
brcmnand.c mtd: nand: brcmnand: Zero bitflip is not an error 2017-12-15 22:26:48 +01:00
brcmnand.h mtd: brcmnand: iProc big endian and ONFI support 2016-09-23 09:35:16 +02:00
brcmstb_nand.c
iproc_nand.c mtd: brcmnand: iProc big endian and ONFI support 2016-09-23 09:35:16 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00