diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 13:57:12 +0200 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 13:26:28 +0200 |
commit | 03231f9b781f24205c0af0398ce3cbef70090939 (patch) | |
tree | 87626b628c3ab8e25133833f7f7b304207fa9dbb /drivers/mmc/host/sdhci-bcm2835.c | |
parent | mmc: sdhci: convert generic bus width setup to library function (diff) | |
download | linux-03231f9b781f24205c0af0398ce3cbef70090939.tar.xz linux-03231f9b781f24205c0af0398ce3cbef70090939.zip |
mmc: sdhci: convert reset into a library function
Rather than having platform_reset_enter/platform_reset_exit methods,
turn the core of the reset handling into a library function which
platforms can call at the appropriate moment in their (new) reset
method.
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-bcm2835.c')
-rw-r--r-- | drivers/mmc/host/sdhci-bcm2835.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-bcm2835.c b/drivers/mmc/host/sdhci-bcm2835.c index 7ab69af979b4..289b1c80d5fc 100644 --- a/drivers/mmc/host/sdhci-bcm2835.c +++ b/drivers/mmc/host/sdhci-bcm2835.c @@ -134,6 +134,7 @@ static const struct sdhci_ops bcm2835_sdhci_ops = { .get_max_clock = sdhci_pltfm_clk_get_max_clock, .get_min_clock = bcm2835_sdhci_get_min_clock, .set_bus_width = sdhci_set_bus_width, + .reset = sdhci_reset, }; static const struct sdhci_pltfm_data bcm2835_sdhci_pdata = { |