workaround-glamo-mmc-insanity-timeout-warning-only.patch
authorsprite_tm <unknown@invalid>
Thu, 4 Dec 2008 21:16:51 +0000 (21:16 +0000)
committerAndy Green <agreen@pads.home.warmcat.com>
Thu, 4 Dec 2008 21:16:51 +0000 (21:16 +0000)
Modified version of one line patch from

https://docs.openmoko.org/trac/ticket/2078

by sprite_tm

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

drivers/mfd/glamo/glamo-mci.c

index 00e3c5c..4b07918 100644 (file)
@@ -639,10 +639,8 @@ static void glamo_mci_send_request(struct mmc_host *mmc)
                             GLAMO_STAT1_MMC_BWERR |
                             GLAMO_STAT1_MMC_BRERR)))) && (insanity_timeout--));
 
-       if (insanity_timeout < 0) {
-               cmd->error = -ETIMEDOUT;
-               dev_err(&host->pdev->dev, "****** insanity timeout\n");
-       }
+       if (insanity_timeout < 0)
+               dev_info(&host->pdev->dev, "command timeout, continuing\n");
 
        if (status & (GLAMO_STAT1_MMC_RTOUT |
                      GLAMO_STAT1_MMC_DTOUT))