]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci: move setting host->clock into sdhci_do_set_ios()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 11:58:45 +0000 (12:58 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 11:26:31 +0000 (07:26 -0400)
commit373073efd06528867df963724a93f29c7d5534d0
tree243ef5e56d8d686f824151bd4e8514a43b4d63e7
parent91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf
mmc: sdhci: move setting host->clock into sdhci_do_set_ios()

We don't need implementations to do this, since the only time it's
necessary is when we change the clock, and the only place that happens
is in sdhci_do_set_ios().  So, move it there, and remove it from the
iMX platform backend.

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-cns3xxx.c
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mmc/host/sdhci-s3c.c
drivers/mmc/host/sdhci.c