[PATCH 1/2] qi-reduce-glamo-mmc-wait-delay.patch
Andy Green
andy at openmoko.com
Sun Feb 1 20:55:59 CET 2009
3000 retries is a very long time for an SD card to wake up,
far longer than should be necessary. This patch reduces it
to 1000.
Signed-off-by: Andy Green <andy at openmoko.com>
---
src/drivers/glamo-mmc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/drivers/glamo-mmc.c b/src/drivers/glamo-mmc.c
index 8f649d1..c3b92c3 100644
--- a/src/drivers/glamo-mmc.c
+++ b/src/drivers/glamo-mmc.c
@@ -609,7 +609,7 @@ static void print_sd_cid(const struct sd_cid *cid)
int mmc_init(int verbose)
{
- int retries = 3000, rc = -1;
+ int retries = 1000, rc = -1;
int resp;
u8 response[16];
// mmc_cid_t *mmc_cid = (mmc_cid_t *)response;
More information about the openmoko-kernel
mailing list