[PATCH v1 6/8] mtd: spi-nor: spansion: s25fs256t: move ARCFN check into .late_init
Takahiro.Kuwano at infineon.com
Takahiro.Kuwano at infineon.com
Thu Jul 9 19:22:15 PDT 2026
> 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 <takahiro.kuwano at infineon.com>
> Signed-off-by: Michael Walle <mwalle at kernel.org>
Tested-by: Takahiro Kuwano <takahiro.kuwano at infineon.com>
Thanks!
More information about the linux-mtd
mailing list