mtd: spelling, capitalization, uniformity
Therefor -> Therefore [Intern], [Internal] -> [INTERN] [REPLACABLE] -> [REPLACEABLE] syndrom, syndom -> syndrome ecc -> ECC buswith -> buswidth endianess -> endianness dont -> don't occures -> occurs independend -> independent wihin -> within erease -> erase blockes -> blocks ... Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
committed by
Artem Bityutskiy
parent
15c60a508a
commit
7854d3f749
@@ -132,7 +132,7 @@ static struct rs_control *rs_decoder;
|
||||
|
||||
/*
|
||||
* The HW decoder in the DoC ASIC's provides us a error syndrome,
|
||||
* which we must convert to a standard syndrom usable by the generic
|
||||
* which we must convert to a standard syndrome usable by the generic
|
||||
* Reed-Solomon library code.
|
||||
*
|
||||
* Fabrice Bellard figured this out in the old docecc code. I added
|
||||
@@ -153,7 +153,7 @@ static int doc_ecc_decode(struct rs_control *rs, uint8_t *data, uint8_t *ecc)
|
||||
ds[3] = ((ecc[3] & 0xc0) >> 6) | ((ecc[0] & 0xff) << 2);
|
||||
parity = ecc[1];
|
||||
|
||||
/* Initialize the syndrom buffer */
|
||||
/* Initialize the syndrome buffer */
|
||||
for (i = 0; i < NROOTS; i++)
|
||||
s[i] = ds[0];
|
||||
/*
|
||||
|
Reference in New Issue
Block a user