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

From: Mark Brown
Date: Wed Dec 10 2014 - 18:54:18 EST


On Wed, Dec 10, 2014 at 12:58:02PM -0800, Doug Anderson wrote:
> There are some cases where you'd like to set a voltage for a regulator
> and a range of voltages are OK, but you'd really like to get as close
> as you can to a specific voltage if at all possible.

This looks like regulator_set_voltage_tol(), why not use that? The spec
probably even has a number for the tolerance, or you can make one up.

Attachment: signature.asc
Description: Digital signature