lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090615143410.GE6106@sirena.org.uk>
Date:	Mon, 15 Jun 2009 15:34:11 +0100
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Mike Rapoport <mike@...pulab.co.il>
Cc:	Samuel Ortiz <sameo@...ux.intel.com>,
	eric miao <eric.y.miao@...il.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd/da903x: initialize PMIC core early

On Mon, Jun 15, 2009 at 05:08:28PM +0300, Mike Rapoport wrote:
> Samuel Ortiz wrote:

> > Sure. Care to explain why this needs to be called earlier ?

> We want to have da903x regulators available early during boot, and since they
> are subdevices of mfd/da903x they cannot be enabled until the da903x core is
> initialized.
> I just saw Liam Girdwood pull request with "regulator: Move regulator drivers to
> subsys_initcall()" commit and jumped in :)

Any MFD core with regulators on it ought to be pulled forward to
subsys_initcall().  Doing this makes it easier to get a sensible
ordering during boot without having a song and dance in consumer
drivers waiting for the regulators that supply them to instantiate.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ