On Sat, Oct 3, 2020 at 9:54 AM Michael Walle <michael@xxxxxxxx> wrote:
While debugging another issue I also noticed that sometimes my
/dev/mtdN devices were reordered. Note that I have two SPI flashes.
Might this also be connected to the async probe?
It's likely. My guess is that you shouldn't really be depending on
the numbering. If you need to depend on the numbering, there should
be something that guarantees it like a device tree alias. We have
struggled with similar things on MMC for years and I guess Ulf finally
decided that we weren't going to get a better solution than the device
tree aliases.