]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: move regulator handling into sdhci_set_power()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 12:00:01 +0000 (13:00 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:33:29 +0000 (08:33 -0400)
commit4227e992c9cf274318a094289adb497ac2d0edb8
tree77dabaaadb2d298b89a1d2e7acd630d5d64ee26e
parentb35a19577673f261a79a0e15f5124948d5482fc1
mmc: sdhci: move regulator handling into sdhci_set_power()

Move the regulator handling into sdhci_set_power() rather than being in
sdhci_do_set_ios().  This wraps all power control up into this function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci.c