On 4/13/21 7:18 PM, 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@xxxxxxxxxxxxxxx Cc: Vladimir Zapolskiy <vz@xxxxxxxxx> Reported-by: Trevor Woerner <twoerner@xxxxxxxxx> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Tested-by: Trevor Woerner <twoerner@xxxxxxxxx>
Acked-by: Vladimir Zapolskiy <vz@xxxxxxxxx> -- Best wishes, Vladimir