diff options
author | 2015-08-27 14:44:03 +0530 | |
---|---|---|
committer | 2015-08-27 14:54:07 +0200 | |
commit | c8518efa6de999bcbd638702c2a2d72fe83431e4 (patch) | |
tree | 74e70bef2e36b6151da56910cea7ebfa8f7e5491 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: host: omap_hsmmc: avoid pbias regulator enable on power off (diff) | |
download | wireguard-linux-c8518efa6de999bcbd638702c2a2d72fe83431e4.tar.xz wireguard-linux-c8518efa6de999bcbd638702c2a2d72fe83431e4.zip |
mmc: host: omap_hsmmc: don't use ->set_power to set initial regulator state
If the regulator is enabled on boot (checked using regulator_is_enabled),
invoke regulator_enable() so that the usecount reflects the correct
state of the regulator and then disable the regulator so that the
initial state of the regulator is disabled. Avoid using ->set_power,
since set_power also takes care of setting the voltages which is not
needed at this point.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions