diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-08-27 12:36:53 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-08-29 14:28:09 +0200 |
commit | f480b969448ee3896f55ef6d037ad4a2df3914bf (patch) | |
tree | 7cddfda2ac88d42c3744e805197b925c15bc1a82 /kernel/trace/trace_probe_tmpl.h | |
parent | 7f852cc1579297fd763789f8cd370639d0c654b6 (diff) |
mtd: rawnand: omap2: Fix number of bitflips reporting with ELM
omap_elm_correct_data() returns the number of bitflips for the whole
page. This is wrong, it should return the maximum number of bitflips
found in each ECC step.
In my case with a 4k page size NAND mtcdore reported -EUCLEAN with
only 12 bitflips on a page where we could correct up to 128 bits per
page (provided they are distributed equally on the 8 ECC steps)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'kernel/trace/trace_probe_tmpl.h')
0 files changed, 0 insertions, 0 deletions