]> git.hungrycats.org Git - linux/commitdiff
[MMC] Add power up delay
authorPierre Ossman <drzeus-list@cx.rmk.(none)>
Wed, 29 Sep 2004 17:44:06 +0000 (18:44 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Wed, 29 Sep 2004 17:44:06 +0000 (18:44 +0100)
This patch adds a 10 ms delay in the power up loop. Some cards fail
to power up in time without it.

drivers/mmc/mmc.c

index a73bdc5d7b3255307d663a37374b0a289369664d..5c3d848943ed10b6a2e63bf5c3c32ef5054a9dfb 100644 (file)
@@ -513,6 +513,8 @@ static int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
                        break;
 
                err = MMC_ERR_TIMEOUT;
+
+               mmc_delay(10);
        }
 
        if (rocr)