From 454eaaa2f414e8801cab3763c8f814b5f13d625b Mon Sep 17 00:00:00 2001 From: Gokhan Moral Date: Wed, 5 Sep 2012 11:58:35 -0700 Subject: [PATCH] mmc: increase read and write timeouts for bad SDHC cards --- drivers/mmc/core/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index b82bb8d8f070..82d39852dd78 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -567,9 +567,9 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card) * The limit is really 250 ms, but that is * insufficient for some crappy cards. */ - limit_us = 300000; + limit_us = 800000; else - limit_us = 100000; + limit_us = 300000; /* * SDHC cards always use these fixed values.