Re: RFC fsl_elbc_nand.c does not update mtd->ecc_stats

2011-07-22 Thread Scott Wood
On Fri, 22 Jul 2011 08:06:53 -0500 Michael Hench wrote: > when using the fsl_elbc_nand driver, mtd->ecc_stats does not appear to > get updated It gets updated for uncorrectable errors (so no need to use lteccr for that), but not correctable. > diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c >

RFC fsl_elbc_nand.c does not update mtd->ecc_stats

2011-07-22 Thread Michael Hench
when using the fsl_elbc_nand driver, mtd->ecc_stats does not appear to get updated UBI uses this to determine when to scrub blocks the patch below appears to fix this (draft 0) am I missing anything? does this look reasonable? diff -purN orig/drivers/mtd/nand/fsl_elbc_nand.c linux-3.0-rc7/driver