On Tue, 2021-09-28 at 22:15:00 UTC, Miquel Raynal wrote: > The introduction of the generic ECC engine API lead to a number of > changes in various drivers which broke some of them. Here is a typical > example: I expected the SM_ORDER option to be handled by the Hamming ECC > engine internals. Problem: the fsmc driver does not instantiate (yet) a > real ECC engine object so we had to use a 'bare' ECC helper instead of > the shiny rawnand functions. However, when not intializing this engine > properly and using the bare helpers, we do not get the SM ORDER feature > handled automatically. It looks like this was lost in the process so > let's ensure we use the right SM ORDER now. > > Fixes: ad9ffdce4539 ("mtd: rawnand: fsmc: Fix external use of SW Hamming ECC helper") > Cc: stable@xxxxxxxxxxxxxxx > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel