summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-acpi.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-25 15:58:50 +0400
committerChris Ball <chris@printf.net>2014-05-22 15:26:31 +0400
commit1650d0c71a209c7d6bdddda8a7e187c537ceb71a (patch)
treeaca71fbf4f02d1b6eacb3f6ce07d837dc2ab33ec /drivers/mmc/host/sdhci-acpi.c
parent373073efd06528867df963724a93f29c7d5534d0 (diff)
downloadlinux-1650d0c71a209c7d6bdddda8a7e187c537ceb71a.tar.xz
mmc: sdhci: move setting mmc->actual_clock into set_clock handlers
Move the setting of mmc->actual_clock to zero into the set_clock handlers themselves. This will allow us to clean up the calling logic for the set_clock() method, and turn sdhci_set_clock() into a library 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>
Diffstat (limited to 'drivers/mmc/host/sdhci-acpi.c')
0 files changed, 0 insertions, 0 deletions