commit | d0abd6f5f5eac758f4bcf4001f6cc377320ebc84 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun May 29 19:20:03 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon May 30 17:00:56 2016 +0100 |
tree | 9afcc4230513211415ad3c985cd43c1881fd10a1 | |
parent | 1a695a905c18548062509178b98bc91e67510864 [diff] |
regulator: max8973: Fix setting ramp delay Current code can set ramp delay to a wrong setting that the return value from .set_voltage_time_sel is not enough for proper delay. Fix the logic in .set_ramp_delay and also remove unused ret_val variable. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>