[PATCH 2/2] mtd mxc_nand: move ecc strengh setup before nand_scan_tail
From: Mike Dunn <hidden>
Date: 2012-05-25 16:29:24
From: Mike Dunn <hidden>
Date: 2012-05-25 16:29:24
On 05/25/2012 07:22 AM, Sascha Hauer wrote:
Since this commit:
commit 6a918bade9dab40aaef80559bd1169c69e8d69cb
Author: Mike Dunn [off-list ref]
Date: Sun Mar 11 14:21:11 2012 -0700
mtd: flash drivers set ecc strength
The mxc_nand driver fails with:
Driver must set ecc.strength when using hardware ECC
This is because nand_scan_tail checks for correct ecc strength
settings, so we must set them up before nand_scan_tail.Oops, sorry Sascha. This was compile-tested only, but I should have ensured strength was set before call to nand_scan_tail(). Thanks, Mike