Re: [PATCH v2 2/2] generic: platform/mikrotik: use MTD notifier

2021-11-16 Thread Sergey Ryazanov
On Tue, Nov 16, 2021 at 7:07 PM Denis Kalashnikov wrote: > If the SPI probe is sufficiently delayed, the routerboot driver may fail > to init as the routerboot partitions are not yet available. > > Register an MTD user notifier instead of doing straight init so that the > init subroutines are only

[PATCH v2 2/2] generic: platform/mikrotik: use MTD notifier

2021-11-16 Thread Denis Kalashnikov
If the SPI probe is sufficiently delayed, the routerboot driver may fail to init as the routerboot partitions are not yet available. Register an MTD user notifier instead of doing straight init so that the init subroutines are only executed when the target MTD partitions are present. Because the