aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sd.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-11-14 19:14:38 -0800
committerChris Ball <cjb@laptop.org>2012-01-11 23:58:41 -0500
commita303c5319c8e6ab0e744ebca118da8420043b2c3 (patch)
treec4b307137f68551b4d30fefab6f9ec2760d3f7eb /drivers/mmc/core/sd.c
parentmmc: sdhci-spear: Implement suspend/resume (diff)
downloadlinux-dev-a303c5319c8e6ab0e744ebca118da8420043b2c3.tar.xz
linux-dev-a303c5319c8e6ab0e744ebca118da8420043b2c3.zip
mmc: sdio: support SDIO UHS cards
This patch adds support for sdio UHS cards per the version 3.0 spec. UHS mode is only enabled for version 3.0 cards when both the host and the controller support UHS modes. 1.8v signaling support is removed if both the card and the host do not support UHS. This is done to maintain compatibility and some system/card combinations break when 1.8v signaling is enabled when the host does not support UHS. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Aaron Lu <Aaron.lu@amd.com> Reviewed-by: Arindam Nath <arindam.nath@amd.com> Tested-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/sd.c')
-rw-r--r--drivers/mmc/core/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
index f54392c4638a..85b858f6d5d4 100644
--- a/drivers/mmc/core/sd.c
+++ b/drivers/mmc/core/sd.c
@@ -960,7 +960,7 @@ static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,
goto free_card;
/* Card is an ultra-high-speed card */
- mmc_sd_card_set_uhs(card);
+ mmc_card_set_uhs(card);
/*
* Since initialization is now complete, enable preset