RE: [PATCH v1 6/8] mtd: spi-nor: spansion: s25fs256t: move ARCFN check into .late_init
| Newsgroups | org.infradead.lists.linux-mtd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
> The SFPD parsing is optional. It not meant to fail if something is wrong > with the chip (except for the SFDP itself). Thus it doesn't make any > sense to return -ENODEV. > > Move that check to late_init(), which might fail and abort the flash > probing. > > Cc: Takahiro Kuwano <[email protected]> > Signed-off-by: Michael Walle <[email protected]> Tested-by: Takahiro Kuwano <[email protected]> Thanks! ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/