BRCMNAND: Fix reporting of uncorrectable errors on subpages during page read
authorJoel Peshkin <joel.peshkin@broadcom.com>
Tue, 21 Dec 2021 04:15:47 +0000 (20:15 -0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jan 2022 18:16:11 +0000 (13:16 -0500)
commit36a3b4ed5632d8da13e3b89796cfdd0683021224
tree1eba050f05a8d344de9c6f61014bce97c76f554c
parent4a05497a8ce9292017b7a5d0e48ecc45705a0a4b
BRCMNAND: Fix reporting of uncorrectable errors on subpages during page read

Previously, a subpage with an uncorrectable error followed by a subpage
with a correctable error would return an erroneous correctable status.

Signed-off-by: Joel Peshkin <joel.peshkin@broadcom.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/nand/raw/brcmnand/brcmnand.c