Messages in this thread | | | Subject | Re: [PATCH] mtd: nand: Properly initialize 'mtd->bitflip_threshold' prior 'scan_bbt()' is invoked | From | Artem Bityutskiy <> | Date | Fri, 08 Jun 2012 20:12:53 +0300 |
| |
On Fri, 2012-06-08 at 18:29 +0300, Shmulik Ladkani wrote: > As of edbc454 [mtd: driver _read() returns max_bitflips; mtd_read() > returns -EUCLEAN], 'mtd->bitflip_threshold' must be set for mtd devices > having ECC, prior any 'mtd_read()' call. > Otherwise, 'mtd_read()' will falsely return -EUCLEAN.
Pushed to l2-mtd.git, thanks! Sascha - does it fix the issue for you?
-- Best Regards, Artem Bityutskiy [unhandled content-type:application/pgp-signature] | |