[PATCH v5 3/6] regulator: core: Don't skip set_voltage_time when ramp delay disabled

2016-09-14 Thread Matthias Kaehlcke
The current code assumes that only the ramp_delay is used to determine the time needed for the voltage to stabilize. This may be true for the calculation done by regulator_set_voltage_time_sel(), however regulators can implement their own set_voltage_time_sel() op which would be skipped if no ramp

[PATCH v5 3/6] regulator: core: Don't skip set_voltage_time when ramp delay disabled

2016-09-14 Thread Matthias Kaehlcke
The current code assumes that only the ramp_delay is used to determine the time needed for the voltage to stabilize. This may be true for the calculation done by regulator_set_voltage_time_sel(), however regulators can implement their own set_voltage_time_sel() op which would be skipped if no ramp