[PATCH openEuler-5.10 68/89] mtd: spinand: Fix incorrect parameters for on-die ECC