mtd: nand: brcmnand: fix mtd corrected bits stat
Currently we attempt to get the amount of flipped bits from a hardware location which is reset on every subpage. Instead obtain total flipped bits stat from hardware accumulator. In addition identify the correct maximum subpage corrected bits. Signed-off-by:David Regan <dregan@broadcom.com> Reviewed-by:
William Zhang <william.zhang@broadcom.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com>
Loading
Please sign in to comment