commit | 19280e40714c9a3c55ab47f76df110072f6cde5e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Dec 12 09:22:46 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Dec 24 16:30:44 2012 +0000 |
tree | bf08bbcb46cad5a071c9ec81e975c730a3ba1468 | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 [diff] |
regulator: core: Fix continuous_voltage_range case in regulator_can_change_voltage Regulator drivers with continuous_voltage_range flag set allows not setting n_voltages. Thus if continuous_voltage_range is set, check the constraint range instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>