diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 12:59:26 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 08:33:11 -0400 |
commit | 96d7b78cfc2fd6b1539704e2d33239dbaa097cc4 (patch) | |
tree | e29d9cc9bbf57aa5f4941cd2d4534bd39130ade4 /drivers/mmc/host/sdhci.h | |
parent | 13e645012dff774895906058163ae244f47b9b81 (diff) | |
download | linux-96d7b78cfc2fd6b1539704e2d33239dbaa097cc4.tar.gz linux-96d7b78cfc2fd6b1539704e2d33239dbaa097cc4.tar.bz2 linux-96d7b78cfc2fd6b1539704e2d33239dbaa097cc4.zip |
mmc: sdhci: convert sdhci_set_uhs_signaling() into a library function
Add sdhci_set_uhs_signaling() and always call the set_uhs_signaling
method. This avoids quirks being added into sdhci_set_uhs_signaling().
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>
[Ulf Hansson] Resolved conflict
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 3179a8053019..7a35395e5f56 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -403,6 +403,7 @@ static inline bool sdhci_sdio_irq_enabled(struct sdhci_host *host) void sdhci_set_clock(struct sdhci_host *host, unsigned int clock); void sdhci_set_bus_width(struct sdhci_host *host, int width); void sdhci_reset(struct sdhci_host *host, u8 mask); +void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing); #ifdef CONFIG_PM extern int sdhci_suspend_host(struct sdhci_host *host); |