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:Christophe 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:
Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230328155819.225521-3-christophe.kerello@foss.st.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment