]> 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)
commit6c65acc51549ca8532e5196add73073b11030fae
treecc5c7c8034bc0538fae61586e0e66445032a252d
parent5fd178670bee350dc65128cea583f6def5da6a50
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