diff options
author | Armando Visconti <armando.visconti@st.com> | 2012-03-07 17:00:54 +0530 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 00:48:06 +0100 |
commit | 753e0139e5569946056a8d5960111665a7f8f6f1 (patch) | |
tree | 53d2f38c02513638e4b83171c4f835e8e3302c82 /drivers/ata/pata_sc1200.c | |
parent | a612c2ae483ee7e4d40c31d5374edf8a8b025f2a (diff) |
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 <armando.visconti@st.com>
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/ata/pata_sc1200.c')
0 files changed, 0 insertions, 0 deletions