diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-01-25 12:35:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 11:55:44 +0000 |
commit | 49e226323d462785582750d9f38acca5ffa5dd48 (patch) | |
tree | cecbd7af1653230d9d29c3b071d546a44b74d9fe /tools/perf/scripts/python/sched-migration.py | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
regulator: Reverse the disable sequence in regulator_bulk_disable()
Often there is a need for disabling a set of regulators in order opposite
to the enable order. Currently the function regulator_bulk_disable() walks
list of regulators in same order as regulator_bulk_enable(). This may cause
trouble, especially for devices with mixed analogue and digital circuits.
So reverse the disabling sequence of regulator_bulk_disable().
While at it, also correct the comment.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions