summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sd.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-11-15 03:14:38 (GMT)
committerChris Ball <cjb@laptop.org>2012-01-12 04:58:41 (GMT)
commita303c5319c8e6ab0e744ebca118da8420043b2c3 (patch)
treec4b307137f68551b4d30fefab6f9ec2760d3f7eb /drivers/mmc/core/sd.c
parentb70a7fab26db65f7daaf04f49a3bd673250f48c7 (diff)
downloadlinux-fsl-qoriq-a303c5319c8e6ab0e744ebca118da8420043b2c3.tar.xz
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 f54392c..85b858f 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