summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sh_mmcif.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-27 12:14:03 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-08-27 15:54:07 +0300
commitc8518efa6de999bcbd638702c2a2d72fe83431e4 (patch)
tree74e70bef2e36b6151da56910cea7ebfa8f7e5491 /drivers/mmc/host/sh_mmcif.c
parent97fe7e5ab6318ea5716f86be3b4ca8776a9e609c (diff)
downloadlinux-c8518efa6de999bcbd638702c2a2d72fe83431e4.tar.xz
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 'drivers/mmc/host/sh_mmcif.c')
0 files changed, 0 insertions, 0 deletions