Commit 632c7658 authored by Christophe Kerello's avatar Christophe Kerello Committed by sanglipeng
Browse files

mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min

stable inclusion
from stable-v5.10.178
commit 6e2845284b129eee875cdaf66e1670d2dd684ebb
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8D927

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6e2845284b129eee875cdaf66e1670d2dd684ebb



--------------------------------

commit ddbb664b upstream.

Use timings.mode value instead of checking tRC_min timing
for EDO mode support.

Signed-off-by: default avatarChristophe Kerello <christophe.kerello@foss.st.com>
Fixes: 2cd457f3 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver")
Cc: stable@vger.kernel.org #v5.10+
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230328155819.225521-3-christophe.kerello@foss.st.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 295b8db4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment