summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/ndfc.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-04-13 19:18:35 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-10 19:34:29 +0300
commitad9ffdce453934cdc22fac0a0268119bd630260f (patch)
tree4a8f53822446091b293df6fb003c4daa860379d2 /drivers/mtd/nand/raw/ndfc.c
parent56a8d3fd1f342d10ee7b27e9ac0f4d00b5fbb91c (diff)
downloadlinux-ad9ffdce453934cdc22fac0a0268119bd630260f.tar.xz
mtd: rawnand: fsmc: Fix external use of SW Hamming ECC helper
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@vger.kernel.org Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210413161840.345208-3-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/ndfc.c')
0 files changed, 0 insertions, 0 deletions