]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: stm32_fmc2: manage all errors cases at probe time
authorChristophe Kerello <christophe.kerello@st.com>
Wed, 6 May 2020 09:11:10 +0000 (11:11 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 19:45:13 +0000 (21:45 +0200)
commitc06bd80b1ee087fad7bc291876744a4ab9ac1621
treecc5c7c8034bc0538fae61586e0e66445032a252d
parent506c87ec7b07e796f143a76adff886ab491028a4
mtd: rawnand: stm32_fmc2: manage all errors cases at probe time

This patch defers its probe when the expected reset control is not
yet ready. This patch also handles properly all errors cases at probe
time.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1588756279-17289-2-git-send-email-christophe.kerello@st.com
drivers/mtd/nand/raw/stm32_fmc2_nand.c