Thread (29 messages) 29 messages, 3 authors, 2021-10-16

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

From: Mark Brown <broonie@kernel.org>
Date: 2021-10-15 16:46:37
Also in: linux-clk, linux-media, lkml, platform-driver-x86

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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help