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

From: Doug Anderson
Date: Thu Dec 11 2014 - 11:09:19 EST


On Thu, Dec 11, 2014 at 4:31 AM, Mark Brown <broonie@xxxxxxxxxx> 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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at