Messages in this thread | | | Date | Fri, 12 Dec 2014 00:24:10 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 1/4] regulator: core: Support trying to get close to a certain voltage |
| |
On Thu, Dec 11, 2014 at 11:55:55AM -0800, Doug Anderson wrote: > On Thu, Dec 11, 2014 at 9:09 AM, Mark Brown <broonie@kernel.org> wrote:
> > Please also bear in mind the need to handle shared supplies in your > > implementation.
> I'm being dense, can you give more details? Do you want me to grab > the mutex or do something smarter like track the voltage / tolerance > requested by multiple clients and resolve them, or ...?
I mean the latter - what happens if more than one consumer is trying to use the regulator? This is IIRC why _set_voltage_tol() uses the cheap and nasty implementation it does. There's also the potential performance considerations for the DVS type applications now I think about it. [unhandled content-type:application/pgp-signature] | |