regulator: core: Return correct delay time in regulator_set_voltage_time_sel
authorAxel Lin <axel.lin@gmail.com>
Mon, 11 Jun 2012 05:14:50 +0000 (13:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Jun 2012 05:35:56 +0000 (13:35 +0800)
rdev->desc->uV_step * abs(new_selector - old_selector) returns uV.
The unit of ramp_delay is mV/us.

Current code multiples 1000 at wrong place.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found