Kishon Vijay Abraham I c8518efa6d 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>
2015-08-27 14:54:07 +02:00
..
2015-05-05 13:35:39 -06:00
2015-03-23 14:13:49 +01:00
2015-02-04 09:42:29 +01:00
2013-08-24 23:45:22 -04:00
2015-08-27 14:50:56 +02:00
2015-08-27 14:50:57 +02:00
2014-09-24 10:13:09 +02:00
2015-06-01 09:06:48 +02:00
2015-01-19 09:56:07 +01:00
2015-03-23 14:13:49 +01:00