From: Armando Visconti Date: Wed, 7 Mar 2012 11:30:54 +0000 (+0530) Subject: mtd: fsmc: Improve the fsmc_correct_data() routine X-Git-Tag: v3.4-rc1~16^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753e0139e5569946056a8d5960111665a7f8f6f1;p=pandora-kernel.git mtd: fsmc: Improve the fsmc_correct_data() routine This patch improves the error correction routine for bch8 - Loop only up to number of errors detected - Improve the error index calculation procedure Additionally, it also renames the "correct" routine to indicate that it is bch8 specific Signed-off-by: Armando Visconti Signed-off-by: Vipin Kumar Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed