From: Sascha Hauer Date: Fri, 25 May 2012 14:22:42 +0000 (+0200) Subject: mtd: mxc_nand: move ecc strengh setup before nand_scan_tail X-Git-Tag: v3.5-rc1~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a43faf54e9173b6acce37cf7f053fc9515a2cdf;p=pandora-kernel.git mtd: mxc_nand: move ecc strengh setup before nand_scan_tail Since commit 6a918bade9dab40aaef80559bd1169c69e8d69cb, 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. Signed-off-by: Sascha Hauer Cc: stable@vger.kernel.org [3.4+] Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed