[PATCH 1/4] regulator: core: Support trying to get close to a certain voltage

Doug Anderson dianders at chromium.org
Thu Dec 11 08:09:13 PST 2014


On Thu, Dec 11, 2014 at 4:31 AM, Mark Brown <broonie at kernel.org> wrote:
> This is just an implementation detail, everything you're saying here
> applies equally to any user specifying by tolerance rather than range.
> If the reason for doing this is to fix that problem then a new API isn't
> the way to go about it.

OK, I'll give a shot at taking my code and using it as a new
implementation for regulator_set_voltage_tol().  In the SD card code
I'll pick some reasonable tolerances--they won't be exactly what the
spec says, but they ought to be good enough.  If Ulf comes back and
yells at me then we can revisit adding a new API.



More information about the Linux-rockchip mailing list