]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/mmc.c
TX6 Release 2013-04-22
[karo-tx-uboot.git] / drivers / mmc / mmc.c
index 72e8ce6da423018e8714be88fd4a3722fd49dca6..d26e89a88c99d4f9958850cd555c94980212fdea 100644 (file)
@@ -543,9 +543,10 @@ static int mmc_send_op_cond(struct mmc *mmc)
                udelay(1000);
        } while (!(cmd.response[0] & OCR_BUSY) && timeout--);
 
-       if (timeout <= 0)
+       if (timeout <= 0) {
+debug("%s: timeout\n", __func__);
                return UNUSABLE_ERR;
-
+       }
        if (mmc_host_is_spi(mmc)) { /* read OCR for spi */
                cmd.cmdidx = MMC_CMD_SPI_READ_OCR;
                cmd.resp_type = MMC_RSP_R3;