commit | 578df8babf3b1895d562e1ea0d3a81d1e77e0182 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Jun 11 13:14:50 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Jun 11 13:35:56 2012 +0800 |
tree | 7bdb85040b4feaa17a59e7419c57cbb156146072 | |
parent | 23ca6bf2318fecfbb9cd9d524e82d5029ef365bf [diff] |
regulator: core: Return correct delay time in regulator_set_voltage_time_sel 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>