Re: [PATCH 05/12] regulator: Introduce tps68470-regulator driver
From: Mark Brown
Date: Fri Oct 15 2021 - 12:46:37 EST
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:
signature.asc
Description: PGP signature