Re: [PATCH 2/2] mtd: nand: nand_mxs: Fix readtotal calculation

2016-10-24 Thread Stefan Lengfeld
Hi Sascha, On Fri, Oct 21, 2016 at 09:18:08AM +0200, Sascha Hauer wrote: > On Thu, Oct 20, 2016 at 03:40:07PM +0200, Christian Hemp wrote: > > The calculation of readtotal must be bit alligend. If not the bch core > > finds bit flips in every page, because readtotal is too small. > > This bug was

Re: [PATCH 2/2] mtd: nand: nand_mxs: Fix readtotal calculation

2016-10-21 Thread Sascha Hauer
On Thu, Oct 20, 2016 at 03:40:07PM +0200, Christian Hemp wrote: > The calculation of readtotal must be bit alligend. If not the bch core > finds bit flips in every page, because readtotal is too small. > This bug was mostly introduced since commit "51061a9 mtd: nand: nand_mxs: > Add subpage read

[PATCH 2/2] mtd: nand: nand_mxs: Fix readtotal calculation

2016-10-20 Thread Christian Hemp
The calculation of readtotal must be bit alligend. If not the bch core finds bit flips in every page, because readtotal is too small. This bug was mostly introduced since commit "51061a9 mtd: nand: nand_mxs: Add subpage read support". Tested with: nand: NAND device: Manufacturer ID: 0x01, Chip