[PATCH v3 3/7] mtd: rawnand: lpc32xx_slc: Fix external use of SW Hamming ECC helper

Miquel Raynal miquel.raynal at bootlin.com
Mon May 10 02:09:29 PDT 2021


On Tue, 2021-04-13 at 16:18:36 UTC, Miquel Raynal wrote:
> Since the Hamming software ECC engine has been updated to become a
> proper and independent ECC engine, it is now mandatory to either
> initialize the engine before using any one of his functions or use one
> of the bare helpers which only perform the calculations. As there is no
> actual need for a proper ECC initialization, let's just use the bare
> helper instead of the rawnand one.
> 
> Fixes: 90ccf0a0192f ("mtd: nand: ecc-hamming: Rename the exported functions")
> Cc: stable at vger.kernel.org
> Cc: Vladimir Zapolskiy <vz at mleia.com>
> Reported-by: Trevor Woerner <twoerner at gmail.com>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Tested-by: Trevor Woerner <twoerner at gmail.com>
> Acked-by: Vladimir Zapolskiy <vz at mleia.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes.

Miquel



More information about the linux-mtd mailing list