[PATCH 09/10] fix-glamo-mmc-reduce-insanity-timeout.patch

Andy Green andy at openmoko.com
Mon Dec 1 02:25:54 CET 2008


Nothing on the card can really take 3s.. reduce to 300ms

Signed-off-by: Andy Green <andy at openmoko.com>
---

 drivers/mfd/glamo/glamo-mci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
index e5bef30..b867438 100644
--- a/drivers/mfd/glamo/glamo-mci.c
+++ b/drivers/mfd/glamo/glamo-mci.c
@@ -579,8 +579,8 @@ static void glamo_mci_send_request(struct mmc_host *mmc)
 	u16 * reg_resp = (u16 *)(host->base + GLAMO_REG_MMC_CMD_RSP1);
 	u16 status;
 	int n;
-	int timeout = 10000000;
-	int insanity_timeout = 10000000;
+	int timeout = 1000000;
+	int insanity_timeout = 1000000;
 
 	if (host->suspending) {
 		dev_err(&host->pdev->dev, "IGNORING glamo_mci_send_request while "




More information about the openmoko-kernel mailing list