]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: omap_hsmmc: enable/disable vmmc_aux regulator based on previous state
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 27 Aug 2015 09:14:04 +0000 (14:44 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:54:07 +0000 (14:54 +0200)
commita49dc61f08ba495e3522ab578c630d74f552353e
treef151a6f112f262d66acda483cc48c899cb6f4ec2
parentdfefff42f53062c6062b1fc559c05b792ee152bd
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>
drivers/mmc/host/omap_hsmmc.c