From: Ilya Yanok Date: Thu, 14 May 2009 10:03:09 +0000 (+0400) Subject: mmc: it's safe to ignore mmc_send_if_cond() return value X-Git-Tag: v2009.06-rc3~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b81830f6e3b3e6ed114d071eb107965e49fa9b5a;p=u-boot mmc: it's safe to ignore mmc_send_if_cond() return value Return value of mmc_send_if_cond() can be safely ignored (as it is done in Linux). This makes older cards work with MXC MCI controller. Signed-off-by: Ilya Yanok --- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 7791c3896e..27116bf2bc 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -867,10 +867,6 @@ int mmc_init(struct mmc *mmc) /* Test for SD version 2 */ err = mmc_send_if_cond(mmc); - /* If we got an error other than timeout, we bail */ - if (err && err != TIMEOUT) - return err; - /* Now try to get the SD card's operating condition */ err = sd_send_op_cond(mmc);