Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6db5020e7386ddf17378f91eb8c445433e5b07cd
Commit:     6db5020e7386ddf17378f91eb8c445433e5b07cd
Parent:     22bfc979d38f57d5b10d141990175d8fc47f6775
Author:     Pierre Ossman <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 30 17:15:07 2007 +0200
Committer:  Pierre Ossman <[EMAIL PROTECTED]>
CommitDate: Sun Sep 23 21:14:09 2007 +0200

    sdio: change clock speed
    
    Change clock speed to the highest supported by the card.
    
    Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]>
---
 drivers/mmc/core/sdio.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index 1fb36a3..62df8e1 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)
                goto remove;
 
        /*
+        * No support for high-speed yet, so just set
+        * the card's maximum speed.
+        */
+       mmc_set_clock(host, card->cis.max_dtr);
+
+       /*
         * Initialize (but don't add) all present functions.
         */
        for (i = 0;i < funcs;i++) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to