Messages in this thread | | | Date | Fri, 15 Oct 2021 17:46:28 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 05/12] regulator: Introduce tps68470-regulator driver |
| |
On Mon, Oct 11, 2021 at 01:43:40PM +0200, Hans de Goede wrote:
> To make this work when everything is build as a module patch 12/12 > adds the following to the PMIC-MFD-driver:
> MODULE_SOFTDEP("pre: clk-tps68470 tps68470-regulator");
> This will make modprobe load the clk and regulator drivers > before it loads the main/MFD tps68470 driver.
I feel nervous about this being reliable with all userspaces - IIRC there was an alternative implementation of the modules stuff in userspace and someone could always be doing insmod. OTOH without better in kernel dependency management and/or more standards based firmware interfaces I guess we're stuck with this. [unhandled content-type:application/pgp-signature] | |