Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424970

Re: [RFC PATCH] regulator: introduce boot protection flag

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] regulator: introduce boot protection flag
Date 2016-06-17 13:50 +0200
Message-ID <rL0rE-60E-15@gated-at.bofh.it> (permalink)
References <rwNuh-87C-1@gated-at.bofh.it> <rHPj4-30z-21@gated-at.bofh.it> <rKhNU-2mT-31@gated-at.bofh.it> <rKjcZ-37G-11@gated-at.bofh.it> <rKSNr-19K-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jun 17, 2016 at 11:34:25AM +0800, Pingbo Wen wrote:
> On Wednesday, June 15, 2016 09:32 PM, Mark Brown wrote:

> > Having the consumer driver know that it's "critical" seems wrong since
> > different systems may have different ideas about that, it's probably
> > better to hook this in with the device model so that when the device
> > finishes probing that kicks things off.

> That will imply the protection would be end when the specific device has
> probed, and consumers should take their place at the same time. But
> there have some other devices, which will set the consumer in a IRQ
> event, or after some other events, can't be covered.

I don't understand what this means, sorry.

> We can set the protection flag easily, but it's hard to tell whether a
> consumer is well initialized, the end of protection, since regulator
> consumer is not initialized within one call.

If the driver is not initializing itself during probe the driver is
doing something wrong and needs to be fixed anyway.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH] regulator: introduce boot protection flag Pingbo Wen <pingbo.wen@linaro.org> - 2016-06-15 14:10 +0200
  Re: [RFC PATCH] regulator: introduce boot protection flag Mark Brown <broonie@kernel.org> - 2016-06-15 15:40 +0200
    Re: [RFC PATCH] regulator: introduce boot protection flag Pingbo Wen <pingbo.wen@linaro.org> - 2016-06-17 05:40 +0200
      Re: [RFC PATCH] regulator: introduce boot protection flag Mark Brown <broonie@kernel.org> - 2016-06-17 13:50 +0200
        Re: [RFC PATCH] regulator: introduce boot protection flag Pingbo Wen <pingbo.wen@linaro.org> - 2016-06-23 14:10 +0200

csiph-web