aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-30 11:15:07 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 15:14:09 -0400
commit6db5020e7386ddf17378f91eb8c445433e5b07cd (patch)
tree52bd6e56d9f3921bb5c8446f173dd9357dfb7a69 /drivers/mmc/core
parent22bfc979d38f57d5b10d141990175d8fc47f6775 (diff)
sdio: change clock speed
Change clock speed to the highest supported by the card. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r--drivers/mmc/core/sdio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index 1fb36a340468..62df8e177585 100644
--- a/drivers/mmc/core/sdio.c
+++ b/drivers/mmc/core/sdio.c
@@ -294,6 +294,12 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr)
294 goto remove; 294 goto remove;
295 295
296 /* 296 /*
297 * No support for high-speed yet, so just set
298 * the card's maximum speed.
299 */
300 mmc_set_clock(host, card->cis.max_dtr);
301
302 /*
297 * Initialize (but don't add) all present functions. 303 * Initialize (but don't add) all present functions.
298 */ 304 */
299 for (i = 0;i < funcs;i++) { 305 for (i = 0;i < funcs;i++) {