diff --git a/drivers/mmc/mmchost_mmchs.c b/drivers/mmc/mmchost_mmchs.c index 2ee0425af..93b5f3ba9 100644 --- a/drivers/mmc/mmchost_mmchs.c +++ b/drivers/mmc/mmchost_mmchs.c @@ -680,6 +680,11 @@ mmchs_card_initialize(struct sd_slot *slot) memset(card, 0, sizeof(struct sd_card)); card->slot = slot; + if (card_goto_idle_state()) { + printf("Failed to go idle state\n"); + return NULL; + } + if (card_identification()) { printf("Failed to do card_identification\n"); return NULL;