Re: [PATCH 05/12] regulator: Introduce tps68470-regulator driver

Mark Brown
2021-10-15T16:46:35Z

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]