commit | 3f77f702389b7fbc955ec95721ce3861e40697fc | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Thu Aug 27 14:44:04 2015 +0530 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Thu Aug 27 14:54:07 2015 +0200 |
tree | f151a6f112f262d66acda483cc48c899cb6f4ec2 | |
parent | c8518efa6de999bcbd638702c2a2d72fe83431e4 [diff] |
mmc: host: omap_hsmmc: enable/disable vmmc_aux regulator based on previous state enable vmmc_aux regulator only if it is in disabled state and disable vmmc_aux regulator only if it is in enabled state. 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>