mtd: rawnand: stm32_fmc2: do not display errors if the driver is deferred
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 12 Jun 2020 15:22:37 +0000 (17:22 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 7 Jul 2020 18:58:07 +0000 (20:58 +0200)
commit5eeb7fe919ff4f683d96cf8c74a9de7e54722040
tree0a6feee2fbe9eeb09d3515b9789f0cc66d1327bd
parentdcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258
mtd: rawnand: stm32_fmc2: do not display errors if the driver is deferred

A MDMA issue has been solved on Kernel 5.7. The effect of this fix is
that the MDMA driver is now deferred and the FMC2 NFC driver is also
deferred. All is working fine but there is a FMC2 log in the console:
stm32_fmc2_nfc 58002000.nand-controller: failed to request tx DMA
channel: -517

This patch removes the display of this log in the console in case of
this error is -EPROBE_DEFER.

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/1591975362-22009-2-git-send-email-christophe.kerello@st.com
drivers/mtd/nand/raw/stm32_fmc2_nand.c