diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 12:57:12 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 07:26:28 -0400 |
commit | 03231f9b781f24205c0af0398ce3cbef70090939 (patch) | |
tree | 87626b628c3ab8e25133833f7f7b304207fa9dbb /drivers/mmc/host/sdhci-bcm-kona.c | |
parent | 2317f56c055fcad524bf6a873df48a754e7ebc4d (diff) | |
download | blackbird-op-linux-03231f9b781f24205c0af0398ce3cbef70090939.tar.gz blackbird-op-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-bcm-kona.c')
-rw-r--r-- | drivers/mmc/host/sdhci-bcm-kona.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index 06cdb8abb25e..7b97bfab910d 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kona.c @@ -210,6 +210,7 @@ static struct sdhci_ops sdhci_bcm_kona_ops = { .get_timeout_clock = sdhci_bcm_kona_get_timeout_clock, .platform_send_init_74_clocks = sdhci_bcm_kona_init_74_clocks, .set_bus_width = sdhci_set_bus_width, + .reset = sdhci_reset, .card_event = sdhci_bcm_kona_card_event, }; |