diff options
author | Christophe Kerello <christophe.kerello@st.com> | 2020-10-30 14:33:39 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-10-30 18:24:51 +0100 |
commit | 9efac6ce7f621c405d49a091e3e367be4250a27a (patch) | |
tree | 5d5692f29b89bd019a58e4c16978f3e4e10d7b3d /kernel | |
parent | 324f78dfb442b82365548b657ec4e6974c677502 (diff) |
mtd: rawnand: stm32_fmc2: fix broken ECC
Since commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework user
input parsing bits"), ECC are broken in FMC2 driver in case of
nand-ecc-step-size and nand-ecc-strength are not set in the device tree.
To avoid this issue, the default settings are now set in
stm32_fmc2_nfc_attach_chip function.
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Fixes: d7157ff49a5b ("mtd: rawnand: Use the ECC framework user input parsing bits")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1604064819-26861-1-git-send-email-christophe.kerello@st.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions