commit | 8b7485ef623b9171e5a58c67eef5912a27db5822 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon May 21 09:37:52 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Jun 03 13:20:00 2012 +0100 |
tree | 2da73c449c197ea61177b63d2a0b81bc44c89d4a | |
parent | cffc9592fde309deafce12362e0a285108cfa3c8 [diff] |
regulator: core: Call set_voltage_time_sel() only when the regulator is on If the regulator is not on, it won't take time setting new voltage. So only call set_voltage_time_sel() to get the necessary delay when the regulator is on. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>