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)
commit71d1f1d5958fe15c1f12f0ecc5aa18ebe2073e31
treecc5c7c8034bc0538fae61586e0e66445032a252d
parentd8ef2b73a459e448fc22b237a54e61855ef7ba3b
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