Re: [PATCH] regulator: core: Keep boot_on regulators powered duringinit

From: Mark Brown
Date: Mon Apr 23 2012 - 08:26:00 EST


On Mon, Apr 23, 2012 at 02:21:49PM +0200, Ulf Hansson wrote:
> On 04/23/2012 01:05 PM, Mark Brown wrote:

> >To be honest I don't entirely understand what your goal is at the system
> >level - the current idea is that either the regulator will be marked as
> >always_on or it should be enabled by a consumer. What is the scenario
> >in which neither of these is sufficient?

> The consumer do not want to enable the regulator directly from its
> device probe routine, it is handled through a scheduled work.

> Moreover the regulator shall not be switched off unless the consumer
> work decides that this is OK.

Cann you be a bit more concrete? What is this device and why does it
have these requirements? The most obvious thing to do here is to run
the work in the probe routine.

Attachment: signature.asc
Description: Digital signature