From: Kees Jongenburger Date: Mon, 8 Oct 2012 14:02:32 +0000 (+0200) Subject: mmc:Small fixup to run the driver on hardware. X-Git-Tag: v3.2.1~281 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/dnssec-signzone.html?a=commitdiff_plain;h=2d5f58d5ef9c1dab4e5010e5cbc9167370f74046;p=minix.git mmc:Small fixup to run the driver on hardware. Change-Id: I8e8d048da7cdfce5c9f2091969b0db5240e3e89f --- 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;