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;