On Wed, 10 Nov 2021 at 10:45, Denis K <[email protected]> wrote: > > > Hi, wouldn't it be better for the rb_hardconfig_init to return > > -EPROBE_DEFER so the > > the core can try probing later? > Hello, Robert! I've tried what you suggested (return -EPROBE_DEFER > from rb_hardconfig_init and routerboot_init). It doesn't work. > do_one_initcall() from linux-5.4.158/init/main.c calls module init > function and it doesn't check return code and recall it later.
Ahh, yeah since it's not a platform driver. Ideally, it should be converted to one so it has a probe method, and then deferring will work. Adding Thibaut as he is the original author, maybe there is a reason why the platform driver approach won't work. Regards, Robert _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
